Fix incorrect call to async_schedule_update_ha_state in manual_mqtt (#116348)

This commit is contained in:
J. Nick Koston 2024-04-28 12:55:28 -05:00 committed by GitHub
parent 66a9430410
commit cdfd0aa7d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -355,7 +355,7 @@ class ManualMQTTAlarm(alarm.AlarmControlPanelEntity):
self._async_validate_code(code, STATE_ALARM_DISARMED)
self._state = STATE_ALARM_DISARMED
self._state_ts = dt_util.utcnow()
self.async_schedule_update_ha_state()
self.async_write_ha_state()
async def async_alarm_arm_home(self, code: str | None = None) -> None:
"""Send arm home command."""