Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
This commit is contained in:
Daniel Hjelseth Høyer
2025-11-25 20:25:58 +01:00
parent 84b54f1546
commit ef96e7f47c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ class TibberRuntimeData:
raise ConfigEntryAuthFailed("OAuth session not available")
await self.session.async_ensure_token_valid()
token = self.session.token
access_token = token.get(CONF_ACCESS_TOKEN)
access_token = token.get("access_token")
if not access_token:
raise ConfigEntryAuthFailed("Access token missing from OAuth session")
if self._client is None:
+1 -1
View File
@@ -199,7 +199,7 @@
},
"exceptions": {
"data_api_reauth_required": {
"message": "Reconnect Tibber so Home Assistant to enable the new Tibber Data API features."
"message": "Reconnect Tibber so Home Assistant can enable the new Tibber Data API features."
},
"graphql_required": {
"message": "Configure the Tibber GraphQL API before calling this service."