ソースを参照

cloud: log found devices by product name

Jason Rumney 1 年間 前
コミット
b52b3853b4
1 ファイル変更1 行追加1 行削除
  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")
                     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_id = domain_data.get(cloud_device["id"]) if domain_data else None
             existing_uuid = (
             existing_uuid = (