Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
azerty9971 committed Jan 28, 2025
1 parent e1dbc6a commit 4a34153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xtend_tuya/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def are_all_domain_config_loaded(hass: HomeAssistant, domain: str, current_entry
for config_entry in config_entries:
if current_entry is not None and config_entry.entry_id == current_entry.entry_id:
continue
if config_entry.state != ConfigEntryState.LOADED:
if config_entry.state == ConfigEntryState.SETUP_IN_PROGRESS:
return False
return True

Expand Down

0 comments on commit 4a34153

Please sign in to comment.