gazoscalvertos/HASS-Persistence

Breaks home alarm from being able to enable/disable

FuzzyMistborn opened this issue · 3 comments

First off, thank you so much for this! Been highly annoyed that my alarm will revert to disarmed on a reboot. Found a bug though. Whenever I enable this, it prevents me from being able to arm/disarm the alarm. As soon as I comment out the sensor, I'm able to set the alarm again. Not sure what's causing this. It also goes from "Home Alarm" to "home alarm" on my home screen.

With persistence sensor enabled:

image
image

Without persistence sensor enabled:
image
image

Hi Mate,

First off, which alarm component are you using? If its the custom alarm panel in my other repo then this has persistence built in which works a treat.

There's a bug which I have noticed with this in that it doesn't recover attributes only the state of the entity.

I'll roll out a fix tonight if not the next couple of days.

Sorry, meant to add that but forgot. I use Manual Alarm Control Panel with MQTT support: https://home-assistant.io/components/alarm_control_panel.manual_mqtt/

Any updates on this?