This release brings up two new features/enhancements:
- Keep-only sensors: You can now select which presence sensors will be ignored unless the room is already occupied. This is super useful for flappy sensors such as mmWave and BLE trackers.
- Light threshold sensor now has configurable hysteresis. This will allow you to tune its "sensitivity" to changes.
Some fixes:
- Unit of measurement on sensors was kinda spotty. I've refactored the code to consider the unit of measurement is more "popular" between your sensors of the same device class in that area and set that to the sensor group (aggregate), HA should deal automatically with unit conversions. @tbrasser spotted an issue with what I was using to resolve unit of measurements on the beta channel and was the trigger for me to look for a better way of doing it. Thanks again for keeping an eye on the beta channel! ❤️
- Added tests for a lot of stuff, there's still a lot to go but should considerably increase the stability of releases.
- Lastly, I seem to finally have figured it out (after 4 breaking changes) what was causing breaking changes, so we shouldn't have many more of those in the future.
🚀 Features
- Aggregates illuminance threshold hysteresis @jseidl (#401)
- Keep-only presence sensors, for those pesky flappy sensors such as mmwave @jseidl (#398)
- Make schemas tolerant to extra keys @jseidl (#400)
- Modernize and expand tests @jseidl (#380)
🐛 Bug Fixes
- Fixing broken logic on unit of measurement popularity contest @jseidl (#399)
- Fix unit of measurement resolution @jseidl (#393)
- Fixing #375 and changes to the threshold sensor on 2024.7 @jseidl (#378)