Răsfoiți Sursa

cloud: log found devices by product name

Jason Rumney 1 an în urmă
părinte
comite
b52b3853b4
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      custom_components/tuya_local/cloud.py

+ 1 - 1
custom_components/tuya_local/cloud.py

@@ -161,7 +161,7 @@ class Cloud:
                     or not hasattr(device, "local_key")
                 ),
             }
-            _LOGGER.debug("Found device: {cloud_device}")
+            _LOGGER.debug("Found device: %s", cloud_device["product_name"])
 
             existing_id = domain_data.get(cloud_device["id"]) if domain_data else None
             existing_uuid = (