mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 03:19:34 +00:00
Improve entity type hints [a] (#76986)
This commit is contained in:
@@ -88,7 +88,7 @@ class AlarmDecoderBinarySensor(BinarySensorEntity):
|
||||
CONF_ZONE_NUMBER: self._zone_number,
|
||||
}
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
async def async_added_to_hass(self) -> None:
|
||||
"""Register callbacks."""
|
||||
self.async_on_remove(
|
||||
async_dispatcher_connect(self.hass, SIGNAL_ZONE_FAULT, self._fault_callback)
|
||||
|
||||
Reference in New Issue
Block a user