Update ambiclimate library (#24562)
parent
a0b1b2e254
commit
b782ed6bbb
|
@ -56,14 +56,15 @@ async def async_setup_entry(hass, entry, async_add_entities):
|
|||
websession)
|
||||
|
||||
try:
|
||||
_token_info = await oauth.refresh_access_token(token_info)
|
||||
token_info = await oauth.refresh_access_token(token_info)
|
||||
except ambiclimate.AmbiclimateOauthError:
|
||||
token_info = None
|
||||
|
||||
if not token_info:
|
||||
_LOGGER.error("Failed to refresh access token")
|
||||
return
|
||||
|
||||
if _token_info:
|
||||
await store.async_save(_token_info)
|
||||
token_info = _token_info
|
||||
await store.async_save(token_info)
|
||||
|
||||
data_connection = ambiclimate.AmbiclimateConnection(oauth,
|
||||
token_info=token_info,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/components/ambiclimate",
|
||||
"requirements": [
|
||||
"ambiclimate==0.1.3"
|
||||
"ambiclimate==0.2.0"
|
||||
],
|
||||
"dependencies": [],
|
||||
"codeowners": [
|
||||
|
|
|
@ -175,7 +175,7 @@ alarmdecoder==1.13.2
|
|||
alpha_vantage==2.1.0
|
||||
|
||||
# homeassistant.components.ambiclimate
|
||||
ambiclimate==0.1.3
|
||||
ambiclimate==0.2.0
|
||||
|
||||
# homeassistant.components.amcrest
|
||||
amcrest==1.5.3
|
||||
|
|
|
@ -64,7 +64,7 @@ aioswitcher==2019.4.26
|
|||
aiounifi==6
|
||||
|
||||
# homeassistant.components.ambiclimate
|
||||
ambiclimate==0.1.3
|
||||
ambiclimate==0.2.0
|
||||
|
||||
# homeassistant.components.apns
|
||||
apns2==0.3.0
|
||||
|
|
Loading…
Reference in New Issue