Skip to content

Commit

Permalink
Dinamically retrieve oauth url (issue #401)
Browse files Browse the repository at this point in the history
  • Loading branch information
ollo69 committed Jan 16, 2023
1 parent ed68127 commit 21652a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/smartthinq_sensors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
region = entry.data[CONF_REGION]
language = entry.data[CONF_LANGUAGE]
refresh_token = entry.data[CONF_TOKEN]
oauth2_url = entry.data.get(CONF_OAUTH2_URL)
oauth2_url = None # entry.data.get(CONF_OAUTH2_URL)
use_api_v2 = entry.data.get(CONF_USE_API_V2, False)
use_ha_session = entry.data.get(CONF_USE_HA_SESSION, False)

Expand Down

0 comments on commit 21652a6

Please sign in to comment.