mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 10:47:10 +00:00
Improve typing in plaato (#87074)
This commit is contained in:
parent
275438adf3
commit
ea3395d576
@ -213,11 +213,11 @@ class PlaatoCoordinator(DataUpdateCoordinator):
|
|||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
hass,
|
hass: HomeAssistant,
|
||||||
auth_token,
|
auth_token: str,
|
||||||
device_type: PlaatoDeviceType,
|
device_type: PlaatoDeviceType,
|
||||||
update_interval: timedelta,
|
update_interval: timedelta,
|
||||||
):
|
) -> None:
|
||||||
"""Initialize."""
|
"""Initialize."""
|
||||||
self.api = Plaato(auth_token=auth_token)
|
self.api = Plaato(auth_token=auth_token)
|
||||||
self.hass = hass
|
self.hass = hass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user