From 29d5637ace90ce802d8d415660755786b0b96501 Mon Sep 17 00:00:00 2001 From: Vaughan Zeng Date: Tue, 3 Aug 2021 16:39:43 +0800 Subject: [PATCH] Update config_flow.py --- custom_components/uvfive/config_flow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/uvfive/config_flow.py b/custom_components/uvfive/config_flow.py index f81ac56..60b33c3 100644 --- a/custom_components/uvfive/config_flow.py +++ b/custom_components/uvfive/config_flow.py @@ -93,6 +93,7 @@ async def async_step_zeroconf(self, discovery_info): async def async_step_device(self, user_input=None): """Handle a flow initialized by the user to configure a uvfive miot device.""" + errors = {} if user_input is not None: self.host = user_input[CONF_HOST] token = user_input[CONF_TOKEN]