mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 23:10:28 +00:00
Improve entity type hints [c] (#77023)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user