Bump evohome-async to 0.4.6 (#103534)
* bump client to 0.4.5 * bump to 0.4.6 * adress lint mypy failspull/103548/head
parent
0dc6c1d03a
commit
af4ccefb8a
|
@ -427,7 +427,9 @@ class EvoBroker:
|
||||||
async def save_auth_tokens(self) -> None:
|
async def save_auth_tokens(self) -> None:
|
||||||
"""Save access tokens and session IDs to the store for later use."""
|
"""Save access tokens and session IDs to the store for later use."""
|
||||||
# evohomeasync2 uses naive/local datetimes
|
# evohomeasync2 uses naive/local datetimes
|
||||||
access_token_expires = _dt_local_to_aware(self.client.access_token_expires)
|
access_token_expires = _dt_local_to_aware(
|
||||||
|
self.client.access_token_expires # type: ignore[arg-type]
|
||||||
|
)
|
||||||
|
|
||||||
app_storage = {
|
app_storage = {
|
||||||
CONF_USERNAME: self.client.username,
|
CONF_USERNAME: self.client.username,
|
||||||
|
@ -437,8 +439,9 @@ class EvoBroker:
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.client_v1 and self.client_v1.user_data:
|
if self.client_v1 and self.client_v1.user_data:
|
||||||
app_storage[USER_DATA] = {
|
user_id = self.client_v1.user_data["userInfo"]["userID"] # type: ignore[index]
|
||||||
"userInfo": {"userID": self.client_v1.user_data["userInfo"]["userID"]},
|
app_storage[USER_DATA] = { # type: ignore[assignment]
|
||||||
|
"userInfo": {"userID": user_id},
|
||||||
"sessionId": self.client_v1.user_data["sessionId"],
|
"sessionId": self.client_v1.user_data["sessionId"],
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
"documentation": "https://www.home-assistant.io/integrations/evohome",
|
"documentation": "https://www.home-assistant.io/integrations/evohome",
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"loggers": ["evohomeasync", "evohomeasync2"],
|
"loggers": ["evohomeasync", "evohomeasync2"],
|
||||||
"requirements": ["evohome-async==0.4.4"]
|
"requirements": ["evohome-async==0.4.6"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -785,7 +785,7 @@ eufylife-ble-client==0.1.8
|
||||||
# evdev==1.6.1
|
# evdev==1.6.1
|
||||||
|
|
||||||
# homeassistant.components.evohome
|
# homeassistant.components.evohome
|
||||||
evohome-async==0.4.4
|
evohome-async==0.4.6
|
||||||
|
|
||||||
# homeassistant.components.faa_delays
|
# homeassistant.components.faa_delays
|
||||||
faadelays==2023.9.1
|
faadelays==2023.9.1
|
||||||
|
|
Loading…
Reference in New Issue