commit | 366f458962d46339eb898582c874160d142be393 | [log] [tgz] |
---|---|---|
author | Aaron Green <aarongreen@google.com> | Wed Jul 31 22:27:20 2024 +0000 |
committer | CQ Bot Account <pigweed-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 31 22:27:20 2024 +0000 |
tree | 9e4ffed10376dd4007a5dd5f9be841439c1f01c7 | |
parent | 62ba383d7df864bcc4612de50dde0f5206ded782 [diff] |
production: Refactor air quality alarms This CL move the threshold and alarm handling code to StateManager, allowing the air sensor to simply deal with reporting air quality scores. This reduces the number of events sent to PubSub. Change-Id: Ia5b0ecbf6d34be1c241e00abf2851624191782f6 Reviewed-on: https://pigweed-internal-review.git.corp.google.com/c/pigweed/showcase/rp2/+/73158 Commit-Queue: Aaron Green <aarongreen@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com>