Improve type hints in light [i-r] (#75943)
This commit is contained in:
parent
11a19c2612
commit
7b1463e03d
20 changed files with 78 additions and 54 deletions
|
@ -240,7 +240,7 @@ class LimitlessLEDGroup(LightEntity, RestoreEntity):
|
|||
self._color = None
|
||||
self._effect = None
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
async def async_added_to_hass(self) -> None:
|
||||
"""Handle entity about to be added to hass event."""
|
||||
await super().async_added_to_hass()
|
||||
if last_state := await self.async_get_last_state():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue