From 613d49fa196fec473fde11808ee94d08d6231b20 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 27 Apr 2022 14:23:43 +0200 Subject: [PATCH] Improve mysensors config_flow typing (#70884) --- homeassistant/components/mysensors/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/mysensors/config_flow.py b/homeassistant/components/mysensors/config_flow.py index e45a332767f..9d992e172b0 100644 --- a/homeassistant/components/mysensors/config_flow.py +++ b/homeassistant/components/mysensors/config_flow.py @@ -309,7 +309,7 @@ class MySensorsConfigFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): try: await self.hass.async_add_executor_job( - verification_func, user_input.get(CONF_DEVICE) + verification_func, user_input[CONF_DEVICE] ) except vol.Invalid: errors[CONF_DEVICE] = (