diff --git a/custom_components/homeconnect/__init__.py b/custom_components/homeconnect/__init__.py index 86d84ac..3bd548e 100644 --- a/custom_components/homeconnect/__init__.py +++ b/custom_components/homeconnect/__init__.py @@ -73,9 +73,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): hass, entry ) - session = config_entry_oauth2_flow.OAuth2Session(hass, entry, implementation) - - hc = api.ConfigEntryAuth(hass, entry, session) + hc = api.ConfigEntryAuth(hass, entry, implementation) hass.data[DOMAIN][entry.entry_id] = hc