2.1.0
What's Changed
In this version we spent a lot of time refactoring how the integration polling works, and how binary sensors are created. The main goal was to have a way better structure to speed-up features development.
Furthermore, we moved our code coverage from 71% to 86%! This is an important step forward to achieve better integration stability! 🎉
Bugfixes
- Build system now uploads only HACS files to prevent downloading errors (#78)
- Use alerts
last_id
while polling, to get alerts real-time updates (#97)
Features
- Update
econnect-python
to 0.8.0 (#92) - Listed
InputSensors
entities include only inputs in use (#88) - Listed
SectorSensors
entities include only sectors in use (#89) - Add
get_status
to retrieve sensor status (#84)
Refactoring
- Split binary sensors in their own entities (#69)
- Add
_inventory
inAlarmDevice
to store all retrieved data (#71) - Create a view to interact with
_inventory
(#72) - Create
AlarmCoordinator
to separate HA boilerplate from the fetching logic (#74) - Add
device.item
to query the inventory (#79)
Testing Improvements
- Initialize automatically
alarm_device
fixture (#83) - Add missing tests for binary sensors (#90)
- Write xml code coverage for better coveralls support (#91)
- Ensure unique ids for
AlertSensor
don't change uponeconnect-python
changes to avoid breaking changes in the future (#93)
Experimental
These are experimental features, so you should not use them in your production environment.
- Add
force_update
as experimental setting in YAML configuration (#85) - Namespace experimental settings under
experimental
key (#86)
Explore the full changeset and the release milestone.