Improve entity type hints [a] (#76986)

This commit is contained in:
epenet
2022-08-18 15:56:52 +02:00
committed by GitHub
parent 24f1287bf9
commit 65eb1584f7
31 changed files with 152 additions and 124 deletions

View File

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