Add constructor return type in integrations E-K (#50902)
This commit is contained in:
parent
d7c0da90c5
commit
b1138b1aab
49 changed files with 64 additions and 60 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue