Skip to content

Commit

Permalink
Update config_flow.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vaughan-zeng committed Aug 3, 2021
1 parent 4873992 commit 29d5637
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/uvfive/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 29d5637

Please sign in to comment.