mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Improve entity type hints [a] (#76986)
This commit is contained in:
@@ -70,7 +70,7 @@ class AdsSensor(AdsEntity, SensorEntity):
|
||||
self._ads_type = ads_type
|
||||
self._factor = factor
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
async def async_added_to_hass(self) -> None:
|
||||
"""Register device notification."""
|
||||
await self.async_initialize_device(
|
||||
self._ads_var,
|
||||
|
||||
Reference in New Issue
Block a user