mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-18 16:10:44 +08:00
--amend
This commit is contained in:
parent
4fa4fca0cf
commit
57f2be0eda
@ -1735,7 +1735,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
|
||||
'check_network_deps', False)
|
||||
if self._opt_check_network_deps:
|
||||
# OAuth2
|
||||
if self._miot_network.http_multi_async(
|
||||
if not self._miot_network.http_multi_async(
|
||||
url_list=[OAUTH2_AUTH_URL]):
|
||||
return await self.__show_network_detect_config_form(
|
||||
reason='unreachable_oauth2_host')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user