Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Fix incorrect instantiation of ConfigEntryAuth
Browse files Browse the repository at this point in the history
related to #43
  • Loading branch information
DavidMStraub committed Nov 24, 2019
1 parent b18898e commit 4a0a3e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/homeconnect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4a0a3e7

Please sign in to comment.