소스 검색

Trotec PAC-W: add sleep mode

Alexander Knöbel 2 년 전
부모
커밋
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