Add init return type to integrations (#87523)
Add type hints to integrations
This commit is contained in:
parent
ade0d6fcae
commit
bb3e0633a4
78 changed files with 118 additions and 84 deletions
|
@ -53,7 +53,7 @@ async def async_setup_entry(
|
|||
class BlinkSensor(SensorEntity):
|
||||
"""A Blink camera sensor."""
|
||||
|
||||
def __init__(self, data, camera, description: SensorEntityDescription):
|
||||
def __init__(self, data, camera, description: SensorEntityDescription) -> None:
|
||||
"""Initialize sensors from Blink camera."""
|
||||
self.entity_description = description
|
||||
self._attr_name = f"{DOMAIN} {camera} {description.name}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue