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

Add Initial Support for Cecotec Readywarm 8400

Stephen 1 год назад
Родитель
Сommit
7688b7846b
1 измененных файлов с 104 добавлено и 0 удалено
  1. 104 0
      custom_components/tuya_local/devices/cecotec_readywarm_8400.yaml

+ 104 - 0
custom_components/tuya_local/devices/cecotec_readywarm_8400.yaml

@@ -0,0 +1,104 @@
+name: Bladeless Heater
+products:
+  - id: var0f7dheclxpjuz
+    name: ReadyWarm Bladeless
+primary_entity:
+  entity: climate
+  translation_only_key: heater
+  dps:
+    - id: 1
+      type: boolean
+      name: hvac_mode
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          constraint: preset_mode
+          conditions:
+            - dps_val: "null"
+              value: fan_only
+              hidden: true
+            - dps_val: "off"
+              value: fan_only
+            - dps_val: "low"
+              value: heat
+            - dps_val: "high"
+              value: heat
+            - dps_val: "auto"
+              value: heat
+    - id: 2
+      type: integer
+      name: temperature
+      unit: C
+      range:
+        min: 15
+        max: 40
+    - id: 3
+      type: integer
+      name: current_temperature
+
+    - id: 4
+      name: preset_mode
+      type: string
+      mapping:
+        - dps_val: "off"
+          value: none
+          hidden: true
+        - dps_val: "low"
+          value: eco
+        - dps_val: "high"
+          value: boost
+        - dps_val: "auto"
+          value: auto
+    - id: 8
+      type: boolean
+      name: swing_mode
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          value: "on"
+
+secondary_entities:
+  - entity: select
+    translation_key: timer
+    category: config
+    dps:
+      - id: 19
+        name: option
+        type: string
+        mapping:
+          - dps_val: "cancel"
+            value: cancel
+          - dps_val: "1h"
+            value: "1h"
+          - dps_val: "2h"
+            value: "2h"
+          - dps_val: "3h"
+            value: "3h"
+          - dps_val: "4h"
+            value: "4h"
+          - dps_val: "5h"
+            value: "5h"
+          - dps_val: "6h"
+            value: "6h"
+          - dps_val: "7h"
+            value: "7h"
+          - dps_val: "8h"
+            value: "8h"
+          - dps_val: "9h"
+            value: "9h"
+          - dps_val: "10h"
+            value: "10h"
+          - dps_val: "11h"
+            value: "11h"
+          - dps_val: "12h"
+            value: "12h"
+  - entity: sensor
+    translation_key: time_remaining
+    class: duration
+    dps:
+      - id: 20
+        type: integer
+        name: sensor
+        unit: min