Add init return type to integrations (#87523)

Add type hints to integrations
This commit is contained in:
epenet
2023-02-06 11:37:25 +01:00
committed by GitHub
parent ade0d6fcae
commit bb3e0633a4
78 changed files with 118 additions and 84 deletions

View File

@@ -55,7 +55,9 @@ async def async_setup_entry(
class BlinkBinarySensor(BinarySensorEntity):
"""Representation of a Blink binary sensor."""
def __init__(self, data, camera, description: BinarySensorEntityDescription):
def __init__(
self, data, camera, description: BinarySensorEntityDescription
) -> None:
"""Initialize the sensor."""
self.data = data
self.entity_description = description