Improve entity type hints [w] (#77886)

This commit is contained in:
epenet 2022-09-06 13:59:37 +02:00 committed by GitHub
parent 050cb275ff
commit a6b6949793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 24 additions and 21 deletions

View file

@ -138,6 +138,6 @@ class W800rf32BinarySensor(BinarySensorEntity):
self._state = state
self.async_write_ha_state()
async def async_added_to_hass(self):
async def async_added_to_hass(self) -> None:
"""Register update callback."""
async_dispatcher_connect(self.hass, self._signal, self.binary_sensor_update)