Improve entity type hints [p] (#77871)
This commit is contained in:
parent
6f564e4f51
commit
474844744b
22 changed files with 130 additions and 107 deletions
|
@ -131,7 +131,7 @@ class PingBinarySensor(RestoreEntity, BinarySensorEntity):
|
|||
await self._ping.async_update()
|
||||
self._available = True
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
async def async_added_to_hass(self) -> None:
|
||||
"""Restore previous state on restart to avoid blocking startup."""
|
||||
await super().async_added_to_hass()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue