Improve entity type hints [o] (#77826)
This commit is contained in:
parent
d6ca3544ee
commit
ea71a462d6
20 changed files with 68 additions and 58 deletions
|
@ -124,7 +124,7 @@ class OwnTracksEntity(TrackerEntity, RestoreEntity):
|
|||
"""Return the device info."""
|
||||
return DeviceInfo(identifiers={(OT_DOMAIN, self._dev_id)}, name=self.name)
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
async def async_added_to_hass(self) -> None:
|
||||
"""Call when entity about to be added to Home Assistant."""
|
||||
await super().async_added_to_hass()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue