Improve type hints in light [i-r] (#75943)

This commit is contained in:
epenet 2022-07-31 13:53:22 +02:00 committed by GitHub
parent 11a19c2612
commit 7b1463e03d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 78 additions and 54 deletions

View file

@ -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():