Skip to content

Commit

Permalink
Merge branch 'dev' into sl-service-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dieselrabbit committed Apr 28, 2024
2 parents e9f8f25 + cdfd0aa commit 90fbefc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/generic_hygrostat/humidifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def _async_switch_changed(
else:
self._attr_action = HumidifierAction.IDLE

self.async_schedule_update_ha_state()
self.async_write_ha_state()

async def _async_update_humidity(self, humidity: str) -> None:
"""Update hygrostat with latest state from sensor."""
Expand Down
1 change: 1 addition & 0 deletions homeassistant/components/homeassistant_alerts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ async def initial_refresh(hass: HomeAssistant) -> None:
cooldown=COMPONENT_LOADED_COOLDOWN,
immediate=False,
function=coordinator.async_refresh,
background=True,
)

@callback
Expand Down
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 90fbefc

Please sign in to comment.