ufodone / envisalink_new

A modernized version of the Home Assistant envisalink integration available through HACS.
MIT License
60 stars 6 forks source link

Bypassed zone shows as clear #135

Open doppiaemme opened 3 weeks ago

doppiaemme commented 3 weeks ago

Hi, Envisalink 3 with a dsc panel. I bypassed a zone with the integration then armed away. The zone is showing as clear, not bypassed on the integration while it correctly shows a bypass in the envisalink app. Is this a known issue? Even reloading doesn't fix the status. Thanks

ufodone commented 2 weeks ago

The zone binary_sensors reflect whether a zone is open or closed. The zone bypass switches reflect whether a zone is bypassed or not. They are not combined as a single sensor because they are indicating different things. E.g., a zone can be bypassed and open or bypassed and closed.

Someone here posted an example where they use a mushroom template card to combine zone state and bypass state using different colours which might be something along the lines of what you're looking for.

doppiaemme commented 2 weeks ago

Hi, Sorry I didn't explain well my issue. The zone bypass switch shows the zone as not bypassed, however it isbypassed, and indeed the envisalink app shows is correctly as bypassed. To bypass it initialky, I used your integration. But once done, the status is not reported correctly afterwards. In practical the integration is showing me all the zones as not bypassed, while one is in reality bypassed. In the screenshot here below, this zone is bypassed but it doesn't show it. I hope it makes more sense. IMG_3441

ufodone commented 2 weeks ago

Ah, okay. I just tried on my system and it seems to work. Can you enable debug logging for envisalink_new and post the logs? If you could turn on the debug logging and then restart HA and once it's come up, try and bypass a zone using the bypass switch a few times. That should hopefully provide enough info to figure out what's going on.