This repository has been archived by the owner on Aug 10, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow sample rate overrides for T/P/H sensors (#41)
This allows for the common request of being able to run the gas-dependant sensors/calculations in ULP mode with more frequent LP temperature/pressure/humidity readings. In that setup the heater only runs every 5 minutes reducing consumption but still allowing highly reactive T/P/H readings. Other combinations are also possible but they'll not be so useful. If no per-sensor overrides are given then they will run at the sample rate configured at platform level. Also included in this commit are some tidy-ups to: - improve code readability and formatting - clear up a compile time warning relating to gate-keeper define - add a couple of extra sensor status safety checks - specify sensor device classes
- Loading branch information