Skip to content

Commit

Permalink
🔁 renew devices when add integration
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Oct 29, 2021
1 parent 0a1ce9b commit 2706329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_miot/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ async def async_step_cloud(self, user_input=None):
if user_input is None:
user_input = {}
else:
await check_xiaomi_account(self.hass, user_input, errors)
await check_xiaomi_account(self.hass, user_input, errors, renew_devices=True)
if not errors:
return await self.async_step_cloud_filter(user_input)
return self.async_show_form(
Expand Down

0 comments on commit 2706329

Please sign in to comment.