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

UI bug when arming night sector after arming home away #24

Closed palazzem closed 9 months ago

palazzem commented 9 months ago

Describe the bug

The bug is described here: https://github.com/palazzem/econnect-python/issues/108

Error message

No errors, they system behaves correctly, but the UI doesn't.

Expected behavior

By arming "night", the UI must say "night".

Additional context

n/a

To Reproduce

  1. In the "away from home" configuration, I input 4 sectors.
  2. In the "night" configuration, I input only one sector.
  3. From the panel alarm_control_panel.alarm_panel "away from home", it arms all 4 sectors correctly for me.
  4. From the panel alarm_control_panel.alarm_panel "night", it arms only the sector I have entered.
  5. The UI bug is in the panel because when I activate "night", "away from home" appears as activated even though in reality only the night zone was correctly set.

Environment