Skip to content

Commit

Permalink
Fix incorrect call to async_schedule_update_ha_state in manual_mqtt (h…
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Apr 28, 2024
1 parent 66a9430 commit cdfd0aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ async def async_alarm_disarm(self, code: str | None = None) -> None:
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."""
Expand Down

0 comments on commit cdfd0aa

Please sign in to comment.