Improve entity type hints [w] (#77886)
This commit is contained in:
parent
050cb275ff
commit
a6b6949793
12 changed files with 24 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue