Closed PablaV closed 1 year ago
I think this is likely related to #15.
The logs you provided show what I think may be a bug in my attempt to fix the issue. My suspicious is that this may incorrectly show away
instead of home
only on the first time you arm the system after HA has been restarted. Are you able to confirm that? If so, I think I fix should be fairly straightforward.
I initially thought it was that issue, but my panel actually is armed away. I learnt this the hard way when the alarm went off because of motion indoors lol. I will check and see if this issues occurs the first time after a restart to see if I can find a pattern.
The logs you provided show the integration sending the arm command to the EVL in stay
mode, with the EVL then sending a few exit delay status updates followed eventually by an indication that is is armed in away
mode. After the arm command is sent, the integration also (erroneously) sends a request for the zone bypass status. My speculation is that this command is somehow confusing the EVL into doing the wrong thing with respect to arming.
The logs from #15 show the same behaviour - although after I think it was about 2 minutes of being armed, the EVL eventually sent another update indicating it was in the correct arm mode. I think it's still the same root cause though.
The more recent version releases have included my attempts to fix this issue but your logs reveal a bug. I can look at making a fix but would appreciate if you could confirm the behaviour as I've had difficulty reproducing this issue myself.
Gave arming a try after restarting HA and it incorrectly armed away instead of stay. I checked the panel to make sure and it shows as armed away.
I've committed a change which I hope will fix this issue for you but haven't published a new release yet as I'm going to be away from the computer for a few days.
Would you be able to try installing the "main" version to see if that fixes your issue? You should be able to select it from the "Redownload" option for the integration in HACS.
So I have been testing the "main" version for the past few days and haven't encountered any time where my panel arms away instead of stay! Safe to say the issue has been fixed, thanks! :)
As of ~v6.3 on occasion my partition will arm 'Away' instead of arming 'Home'/'Stay' which is what I had initially set the partition to. Not really much info I got aside from some logs I have attached. I armed the partition stay at 10:31:59pm then at 10:33:59pm it armed away, at that time I set the partition to arm to stay and that went through successfully. This happens randomly and happens if I arm using HA or even manually on my panel. I am currently on v6.6 with bypass zone switches enabled.