palazzem / ha-econnect-alarm

Home Assistant integration that provides a full-fledged Alarm Panel to control your Elmo/IESS alarm systems.
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

feat: create SectorSensors with _inventory #89

Closed xtimmy86x closed 8 months ago

xtimmy86x commented 8 months ago

Related Issues

Proposed Changes:

Create SectorSensors from _inventory query and use new get_status function for rendering the is_on state

Testing:

Extra Notes (optional):

Now the integration create only binary sensors for sectors that are configured in control panel

Screenshot of binary sensors with original code: after

Screenshot of binary sensors with modified code: before

Checklist