mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 13:30:43 +00:00
Improve entity type hints [a] (#76986)
This commit is contained in:
@@ -24,7 +24,7 @@ class AlarmDecoderSensor(SensorEntity):
|
||||
_attr_name = "Alarm Panel Display"
|
||||
_attr_should_poll = False
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
async def async_added_to_hass(self) -> None:
|
||||
"""Register callbacks."""
|
||||
self.async_on_remove(
|
||||
async_dispatcher_connect(
|
||||
|
||||
Reference in New Issue
Block a user