mirror of
https://github.com/home-assistant/core.git
synced 2025-08-08 21:18:27 +00:00
Fix bug where RainMachine entity states don't populate on startup (#76412)
This commit is contained in:
parent
79b371229d
commit
ee2acabcbe
@ -437,7 +437,7 @@ class RainMachineEntity(CoordinatorEntity):
|
|||||||
self.async_write_ha_state()
|
self.async_write_ha_state()
|
||||||
|
|
||||||
async def async_added_to_hass(self) -> None:
|
async def async_added_to_hass(self) -> None:
|
||||||
"""Handle entity which will be added."""
|
"""When entity is added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
self.update_from_latest_data()
|
self.update_from_latest_data()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user