From 5a7f1d62c1f6675bee0c88cc820d88076c70eb52 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 30 Aug 2020 15:42:33 +0200 Subject: [PATCH] CoordinatorEntity to call super added_to_hass (#39416) --- homeassistant/helpers/update_coordinator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/helpers/update_coordinator.py b/homeassistant/helpers/update_coordinator.py index 987f1d63eee..b17ddcd3dd6 100644 --- a/homeassistant/helpers/update_coordinator.py +++ b/homeassistant/helpers/update_coordinator.py @@ -211,6 +211,7 @@ class CoordinatorEntity(entity.Entity): async def async_added_to_hass(self) -> None: """When entity is added to hass.""" + await super().async_added_to_hass() self.async_on_remove( self.coordinator.async_add_listener(self.async_write_ha_state) )