eavanvalkenburg / sia

SIA alarm systems integration into Home Assistant
MIT License
48 stars 11 forks source link

State after tiggered alarm #13

Closed goots86 closed 4 years ago

goots86 commented 4 years ago

Hello,

I try to implement Sia/Ajax with HA but I have some problem.

When hub send a triggered alarm to HA, after end of alarm, HA reset state of alarm on disarmed ?

It's a normal working of script ? or it's a bug ?

Thanks for your answer.

My HA run on docker for your information. HA version : 0.108.9

goots86 commented 4 years ago

I find something : In file init.py line 170 : "BR": {"type": DEVICE_CLASS_ALARM, "new_state": STATE_ALARM_DISARMED},

BR in SIA event xls means : Alarm/trouble condition has been eliminated and not DISARMED.

eavanvalkenburg commented 4 years ago

That is a good catch, I will look into it, thanks!

eavanvalkenburg commented 4 years ago

@goots86 just to check, the expectation is that the alarm goes back to the state it had previously, either Night or Away, correct?

goots86 commented 4 years ago

Yes, but in fact, the state goes to disarmed.

eavanvalkenburg commented 4 years ago

This was fixed in the v0.3.2 release.