Explorar o código

Create carson_cb.yaml

Darek Margas %!s(int64=4) %!d(string=hai) anos
pai
achega
7ed7248fb4
Modificáronse 1 ficheiros con 107 adicións e 0 borrados
  1. 107 0
      custom_components/tuya_local/devices/carson_cb.yaml

+ 107 - 0
custom_components/tuya_local/devices/carson_cb.yaml

@@ -0,0 +1,107 @@
+name: Carson CB PA280
+primary_entity:
+  entity: climate
+  dps:
+    - id: 1
+      name: power
+      type: boolean
+      mapping:
+        - dps_val: false
+          value: "off"
+          icon: "mdi:hvac-off"
+          icon_priority: 1
+      hidden: true
+    - id: 2
+      name: temperature
+      type: integer
+      mapping:
+        - constraint: temperature_unit
+          conditions:
+            - dps_val: "C"
+              range:
+                min: 16
+                max: 30
+            - dps_val: "F"
+              range:
+                min: 60
+                max: 86
+    - id: 3
+      name: current_temperature
+      type: integer
+    - id: 4
+      name: hvac_mode
+      type: string
+      mapping:
+        - dps_val: COOL
+          icon: "mdi:snowflake"
+          icon_priority: 2
+          constraint: power
+          conditions:
+            - dps_val: false
+              value_redirect: power
+            - dps_val: true
+              value: cool
+        - dps_val: FAN
+          icon: "mdi:fan"
+          icon_priority: 2
+          constraint: power
+          conditions:
+            - dps_val: false
+              value_redirect: power
+              value: "off"
+            - dps_val: true
+              value: fan_only
+        - dps_val: DRY
+          icon: "mdi:water"
+          icon_priority: 2
+          constraint: power
+          conditions:
+            - dps_val: false
+              value_redirect: power
+            - dps_val: true
+              value: dry
+        - dps_val: HEAT
+          icon: "mdi:fire"
+          icon_priority: 2
+          constraint: power
+          conditions:
+            - dps_val: false
+              value_redirect: power
+            - dps_val: true
+              value: heat
+    - id: 5
+      name: fan_mode
+      type: integer
+      mapping:
+        - dps_val: 1
+          value: "low"
+        - dps_val: 2
+          value: "medium"
+        - dps_val: 3
+          value: "high"
+    - id: 19
+      name: temperature_unit
+      type: string
+    - id: 102
+      name: unknown_102
+      type: boolean
+    - id: 103
+      name: timer
+      type: integer
+    - id: 104
+      name: swing_mode
+      type: boolean
+      mapping:
+        - dps_val: true
+          value: "vertical"
+        - dps_val: false
+          value: "off"
+    - id: 105
+      name: countdown
+      type: integer
+    - id: 106
+      name: unknown_106
+      type: integer
+    - id: 110
+      name: unknown_110
+      type: integer