Просмотр исходного кода

Create windmill_airconditioner.yaml

Ian J Sikes 1 год назад
Родитель
Сommit
bf68d3c3bb
1 измененных файлов с 53 добавлено и 0 удалено
  1. 53 0
      custom_components/tuya_local/devices/windmill_airconditioner.yaml

+ 53 - 0
custom_components/tuya_local/devices/windmill_airconditioner.yaml

@@ -0,0 +1,53 @@
+name: Windmill Air Conditioner
+products:
+  - id: ebd7ef1c98deabe827aukn
+    name: Windmill Air Conditioner
+primary_entity:
+  entity: climate
+  dps:
+    - id: 1
+      name: hvac_mode
+      type: boolean
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          constraint: mode
+          conditions:
+            - dps_val: wind
+              value: fan_only
+            - dps_val: cool
+              value: cool
+            - dps_val: eco
+              value: auto
+    - id: 4
+      name: mode
+      type: string
+      hidden: true
+    - id: 5
+      name: fan_mode
+      type: string
+      mapping:
+        - dps_val: low
+          value: low
+        - dps_val: mid
+          value: medium
+        - dps_val: high
+          value: high
+        - dps_val: auto
+          value: auto
+    # Reported by device, seemingly unused
+    # - id: 22
+    - id: 23
+      name: current_temperature
+      type: integer
+      readonly: true
+    - id: 24
+      name: temperature
+      type: integer
+      range:
+        min: 60
+        max: 86
+      unit: F
+    # Reported by device, seemingly unused
+    # - id: 102