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

`alarm_control_panel` status doesn't change correctly #108

Closed xtimmy86x closed 7 months ago

xtimmy86x commented 7 months ago

Describe the bug When the alarm switches from any armed state to another, the status doesn't change directly to the desired one, but first transitions to "armed_away".

Error message

Expected behavior The status should change directly to the desired one.

Additional context

Screenshot_20231104_091159_Chrome

To Reproduce Arm the control panel from armed_night to armed_home

Environment

palazzem commented 7 months ago

I'm also experiencing the same but to me, it's happening at every poll:

image

I'm running version 2.2.0.dev1, so probably a change made this worse.

palazzem commented 7 months ago

Fixed in https://github.com/palazzem/econnect-python/pull/128