Jason Rumney 1 год назад
Родитель
Сommit
09c355410a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      custom_components/tuya_local/config_flow.py

+ 1 - 1
custom_components/tuya_local/config_flow.py

@@ -282,7 +282,7 @@ class ConfigFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
             existing_uuid = (
                 domain_data.get(cloud_device["uuid"]) if domain_data else None
             )
-            existing = exisiton_id or existing_uuid
+            existing = exisiting_id or existing_uuid
             if existing and existing.get("device"):
                 cloud_device["exists"] = True