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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
78 changed files with 118 additions and 84 deletions

View file

@ -71,7 +71,7 @@ class KaiterraSensor(SensorEntity):
def __init__(
self, api, name, device_id, description: KaiterraSensorEntityDescription
):
) -> None:
"""Initialize the sensor."""
self._api = api
self._device_id = device_id