mirror of
https://github.com/home-assistant/core.git
synced 2026-05-04 20:04:35 +02:00
@@ -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:
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user