SauRoNZA
Honorary Master
You need to persist the state data. I use simple dB or something in Openhab. It only stores the last value per item. So restarts is a non issue.
Yeah this is a fundamental problem often mentioned with HA that it has no persistence.
I guess could write it to influxdb and use those values but when so it’s a bit over the top for such a small issue.
I mean then I might as well just make it a dumb MQTT switch and create a Boolean button and a status separately.
Doesn’t bother me enough to do that and would probably need a hack to tell HomeKit it’s an alarm then.
What I do however need is a cool verbal trigger for Siri to arm, close gate and garage and is somewhat unique.
“Secure the Compound” doesn’t seem cool enough.
