Fixes alarm_control_panel.pima_alarm unavailable state when HA core is restarted and MQTT is used.
Scenario:
Configure HA/MQTT. alarm_control_panel.pima_alarm state is armed/disarmed (correct)
Restart HA core - alarm_control_panel.pima_alarm will be unavailable until the next status is posted to MQTT
By enabling retention of the status, we make sure the previously posted status is pushed to HA core when it connects to MQTT - allowing it to immediately see the correct status.
Fixes alarm_control_panel.pima_alarm
unavailable
state when HA core is restarted and MQTT is used.Scenario:
unavailable
until the next status is posted to MQTTBy enabling retention of the status, we make sure the previously posted status is pushed to HA core when it connects to MQTT - allowing it to immediately see the correct status.