forked from home-assistant/core
committed by
Paulus Schoutsen
parent
f7c65e7c8b
commit
473f109428
@@ -77,9 +77,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
session = config_entry_oauth2_flow.OAuth2Session(hass, entry, implementation)
|
neato_session = api.ConfigEntryAuth(hass, entry, implementation)
|
||||||
|
|
||||||
neato_session = api.ConfigEntryAuth(hass, entry, session)
|
|
||||||
hass.data[NEATO_DOMAIN][entry.entry_id] = neato_session
|
hass.data[NEATO_DOMAIN][entry.entry_id] = neato_session
|
||||||
hub = NeatoHub(hass, Account(neato_session))
|
hub = NeatoHub(hass, Account(neato_session))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user