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

Adding support for Konyks eCosy (#4434)

* Add files via upload

* changes from review

- naming changes
- merge entities into a single climate entity
- use translations where possible

PR #4434

---------

Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>
NarfX4 1 день назад
Родитель
Сommit
e608b883ea

+ 31 - 0
custom_components/tuya_local/devices/konyks_ecosy2024_pilotwirecontroller.yaml

@@ -0,0 +1,31 @@
+name: Pilot wire controller
+products:
+  - id: evyy1wbhi4t7uftn
+    manufacturer: Konyks
+    model: "eCosy 2024"
+entities:
+  - entity: climate
+    translation_key: heater
+    dps:
+      - id: 1
+        type: boolean
+        name: hvac_mode
+        mapping:
+          - dps_val: false
+            value: "off"
+          - dps_val: true
+            value: heat
+      - id: 2
+        name: preset_mode
+        type: string
+        mapping:
+          - dps_val: hot
+            value: comfort
+          - dps_val: comfortable1
+            value: "Comfort -1"
+          - dps_val: comfortable2
+            value: "Comfort -2"
+          - dps_val: eco
+            value: eco
+          - dps_val: cold
+            value: away