diff --git a/homeassistant/components/gios/air_quality.py b/homeassistant/components/gios/air_quality.py index c8cd8be11c7..d180b0a0ddf 100644 --- a/homeassistant/components/gios/air_quality.py +++ b/homeassistant/components/gios/air_quality.py @@ -142,11 +142,9 @@ class GiosAirQuality(AirQualityEntity): async def async_added_to_hass(self): """Connect to dispatcher listening for entity data notifications.""" - self.coordinator.async_add_listener(self.async_write_ha_state) - - async def async_will_remove_from_hass(self): - """Disconnect from update signal.""" - self.coordinator.async_remove_listener(self.async_write_ha_state) + self.async_on_remove( + self.coordinator.async_add_listener(self.async_write_ha_state) + ) async def async_update(self): """Update GIOS entity."""