augustas2 / eldes

Home Assistant custom component for Eldes Alarm system
MIT License
14 stars 4 forks source link

Immediate status request after armed alarm #1

Closed aferrato closed 2 years ago

aferrato commented 2 years ago

Hello and thank you for this integration! it would be useful that when the alarm is armed / disarmed, a request for the status of the alarm is immediately made to understand whether it has actually been activated or not.

At this moment if I armed the alarm, but there are open zones and it does not activate, HA shows the status only after the pooling time set in the configuration.

augustas2 commented 2 years ago

Hi, thanks for the feedback! I understand the problem.

Currently if something unnexpected happens during arm/disarm API call, the new status is still set to state. So this is definetly a bug.

I will make a fix after a weekend.

augustas2 commented 2 years ago

Fixed in #2

evaliukonis commented 2 years ago

You can not request status immediately after arm/disarm action. To complete action need time and must wait status from cloud. For better performance use 10 or 15 sec pool time.