mirror of
https://github.com/home-assistant/core.git
synced 2025-04-30 20:27:57 +00:00
Fix bug in ecobee integration (#32008)
* Bump python-ecobee-api to 0.2.1 * Update log messages for clarity * Update requirements_all
This commit is contained in:
parent
5839df39b5
commit
832337f26c
@ -96,9 +96,7 @@ class EcobeeData:
|
|||||||
await self._hass.async_add_executor_job(self.ecobee.update)
|
await self._hass.async_add_executor_job(self.ecobee.update)
|
||||||
_LOGGER.debug("Updating ecobee")
|
_LOGGER.debug("Updating ecobee")
|
||||||
except ExpiredTokenError:
|
except ExpiredTokenError:
|
||||||
_LOGGER.warning(
|
_LOGGER.debug("Refreshing expired ecobee tokens")
|
||||||
"Ecobee update failed; attempting to refresh expired tokens"
|
|
||||||
)
|
|
||||||
await self.refresh()
|
await self.refresh()
|
||||||
|
|
||||||
async def refresh(self) -> bool:
|
async def refresh(self) -> bool:
|
||||||
@ -113,7 +111,7 @@ class EcobeeData:
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
_LOGGER.error("Error updating ecobee tokens")
|
_LOGGER.error("Error refreshing ecobee tokens")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/ecobee",
|
"documentation": "https://www.home-assistant.io/integrations/ecobee",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"requirements": ["python-ecobee-api==0.1.4"],
|
"requirements": ["python-ecobee-api==0.2.1"],
|
||||||
"codeowners": ["@marthoc"]
|
"codeowners": ["@marthoc"]
|
||||||
}
|
}
|
||||||
|
@ -1559,7 +1559,7 @@ python-clementine-remote==1.0.1
|
|||||||
python-digitalocean==1.13.2
|
python-digitalocean==1.13.2
|
||||||
|
|
||||||
# homeassistant.components.ecobee
|
# homeassistant.components.ecobee
|
||||||
python-ecobee-api==0.1.4
|
python-ecobee-api==0.2.1
|
||||||
|
|
||||||
# homeassistant.components.eq3btsmart
|
# homeassistant.components.eq3btsmart
|
||||||
# python-eq3bt==0.1.11
|
# python-eq3bt==0.1.11
|
||||||
|
@ -560,7 +560,7 @@ pysonos==0.0.24
|
|||||||
pyspcwebgw==0.4.0
|
pyspcwebgw==0.4.0
|
||||||
|
|
||||||
# homeassistant.components.ecobee
|
# homeassistant.components.ecobee
|
||||||
python-ecobee-api==0.1.4
|
python-ecobee-api==0.2.1
|
||||||
|
|
||||||
# homeassistant.components.darksky
|
# homeassistant.components.darksky
|
||||||
python-forecastio==1.4.0
|
python-forecastio==1.4.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user