Add constructor return type in integrations E-K (#50902)

This commit is contained in:
Michael 2021-05-20 17:47:30 +02:00 committed by GitHub
parent d7c0da90c5
commit b1138b1aab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 64 additions and 60 deletions

View file

@ -53,7 +53,7 @@ def add_entities(account, async_add_entities, tracked):
class IcloudDeviceBatterySensor(SensorEntity):
"""Representation of a iCloud device battery sensor."""
def __init__(self, account: IcloudAccount, device: IcloudDevice):
def __init__(self, account: IcloudAccount, device: IcloudDevice) -> None:
"""Initialize the battery sensor."""
self._account = account
self._device = device