Improve entity type hints [c] (#77023)

This commit is contained in:
epenet
2022-08-19 13:02:46 +02:00
committed by GitHub
parent 80c1c11b1a
commit 0f792eb92e
15 changed files with 63 additions and 57 deletions

View File

@@ -90,7 +90,7 @@ class CompensationSensor(SensorEntity):
self._unique_id = unique_id
self._name = name
async def async_added_to_hass(self):
async def async_added_to_hass(self) -> None:
"""Handle added to Hass."""
self.async_on_remove(
async_track_state_change_event(