From ee2acabcbe3eb96b8b00a7903b8c3df59ea8c7c6 Mon Sep 17 00:00:00 2001 From: Aaron Bach Date: Sun, 7 Aug 2022 13:44:50 -0600 Subject: [PATCH] Fix bug where RainMachine entity states don't populate on startup (#76412) --- homeassistant/components/rainmachine/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/rainmachine/__init__.py b/homeassistant/components/rainmachine/__init__.py index 3feeac7a827..07dbe63ca00 100644 --- a/homeassistant/components/rainmachine/__init__.py +++ b/homeassistant/components/rainmachine/__init__.py @@ -437,7 +437,7 @@ class RainMachineEntity(CoordinatorEntity): self.async_write_ha_state() 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() self.update_from_latest_data()