瀏覽代碼

Rotenso heatpump: fix yaml indentation and add dps block.

Jason Rumney 3 年之前
父節點
當前提交
a7ea9253d4
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml

+ 4 - 3
custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml

@@ -119,9 +119,10 @@ secondary_entities:
     category: config
     name: Sleep
     icon: "mdi:power-sleep"
-    - id: 101
-      type: boolean
-      name: switch
+    dps:
+      - id: 101
+        type: boolean
+        name: switch
   - entity: binary_sensor
     class: problem
     category: diagnostic