Improve entity type hints [e] (#77041)
This commit is contained in:
parent
21cd2f5db7
commit
3a3f41f3df
32 changed files with 138 additions and 111 deletions
|
@ -162,7 +162,7 @@ class EnOceanSensor(EnOceanEntity, RestoreEntity, SensorEntity):
|
|||
self._attr_name = f"{description.name} {dev_name}"
|
||||
self._attr_unique_id = description.unique_id(dev_id)
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
async def async_added_to_hass(self) -> None:
|
||||
"""Call when entity about to be added to hass."""
|
||||
# If not None, we got an initial value.
|
||||
await super().async_added_to_hass()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue