Alexander Knöbel 2 лет назад
Родитель
Сommit
3d8e102258
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      custom_components/tuya_local/devices/trotec_pac-w_heatpump.yaml

+ 9 - 0
custom_components/tuya_local/devices/trotec_pac-w_heatpump.yaml

@@ -78,3 +78,12 @@ primary_entity:
     - id: 111
       name: fault_code2
       type: integer
+secondary_entities:
+  - entity: switch
+    name: Sleep
+    category: config
+    icon: "mdi:power-sleep"
+    dps:
+      - id: 101
+        type: boolean
+        name: switch