From 5049beaa01b586a5dffcf18019cd279ea1fede29 Mon Sep 17 00:00:00 2001 From: Charles Garwood Date: Thu, 5 Nov 2020 10:43:25 -0500 Subject: [PATCH] Actually fix config flow (#26) --- custom_components/fullykiosk/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/fullykiosk/config_flow.py b/custom_components/fullykiosk/config_flow.py index 31f77bf..729eb82 100644 --- a/custom_components/fullykiosk/config_flow.py +++ b/custom_components/fullykiosk/config_flow.py @@ -46,7 +46,7 @@ async def authenticate(self, username, password) -> bool: async def validate_input(hass: core.HomeAssistant, data): """Validate the user input allows us to connect.""" - session = async_get_clientsession() + session = async_get_clientsession(hass) fully = FullyKiosk(session, data["host"], data["port"], data["password"]) try: