sebastianciupinski 2 лет назад
Родитель
Сommit
f62c7a4625
1 измененных файлов с 56 добавлено и 0 удалено
  1. 56 0
      custom_components/tuya_local/devices/caldo_up_t_wifi.yaml

+ 56 - 0
custom_components/tuya_local/devices/caldo_up_t_wifi.yaml

@@ -0,0 +1,56 @@
+name: CALDO UP T WIFI
+products:
+  - id: dqy0z9997a18rkaw
+primary_entity:
+  entity: climate
+  dps:
+    - id: 1
+      type: boolean
+      name: hvac_mode
+      mapping:
+        - dps_val: true
+          value: "heat"
+        - dps_val: false
+          value: "off"
+    - id: 2
+      type: integer
+      name: temperature
+      range:
+        min: 18
+        max: 45
+    - id: 3
+      type: integer
+      name: current_temperature
+    - id: 8
+      type: boolean
+      name: swing_mode
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          value: "on"
+secondary_entities:
+   - entity: select
+     name: Heating mode
+     icon: "mdi:gauge"
+     category: config
+     dps:
+       - id: 5
+         type: string
+         name: option
+         mapping:
+           - dps_val: 0
+             value: "Off"
+           - dps_val: 1
+             value: "Low"
+           - dps_val: 2
+             value: "High"
+   - entity: switch
+     name: Window detection
+     icon: "mdi:window-open-variant"
+     category: config
+     dps:
+       - id: 101
+         type: boolean
+         name: switch
+