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

Add support for Eurom Alutherm heaters

Issue #1138
Jason Rumney 2 лет назад
Родитель
Сommit
66b684075e
3 измененных файлов с 89 добавлено и 1 удалено
  1. 1 1
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 87 0
      custom_components/tuya_local/devices/eurom_alutherm_heater.yaml

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -270,7 +270,7 @@ Further device support has been made with the assistance of users.  Please consi
 - [LesTR](https://github.com/LesTR) for contributing support for Immax neo light vento, early assistance with the subdevice support, and contribution of test improvements for subdevices.
 - [JonF-49](https://github.com/JonF-49) for contributing support for RGBW lightbulbs, Carro fan with light, and improvements to color light entities that lack color temperature control.
 - [charliesjc](https://github.com/charliesjc) for contributing support for CBI Astute smart controller breaker switches.
-- [stijnb1234](https://github.com/stijnb1234) for assisting with support for CCT lightbulbs.
+- [stijnb1234](https://github.com/stijnb1234) for assisting with support for CCT lightbulbs and Eurom Alutherm heaters.
 - [YodaDaCoda](https://github.com/YodaDaCoda) for contributing support for Kogan LX10 vacuum cleaners and improvements to device detection debug feedback.
 - [itn3rd77](https://github.com/itn3rd77) for contributing support for Stadler Form Karl/Karl Big humidifiers.
 - [Mikey887](https://github.com/Mikey887) for contributing support for Catit Pixi Smart feeder.

+ 1 - 0
DEVICES.md

@@ -12,6 +12,7 @@
 - Devola patio heater
 - Ecostrad Accent iQ heating panels
 - Ecostrad iQ ceramic radiators
+- Eurom Alutherm 1000,1500,2000,2500 heaters
 - Eurom Mon Soleil 300,600,800, 350,601,720 and 300,450,720 Verre heaters
 - Eurom Sani Wall Heat 2000 heater
 - Eurom Wall Designheat 2000 heater

+ 87 - 0
custom_components/tuya_local/devices/eurom_alutherm_heater.yaml

@@ -0,0 +1,87 @@
+name: Heater
+products:
+  - id: 20qAGCEd0AxowwTA
+    name: Eurom Alutherm heater
+primary_entity:
+  entity: climate
+  dps:
+    - id: 1
+      name: hvac_mode
+      type: boolean
+      mapping:
+        - dps_val: true
+          icon: "mdi:radiator"
+          constraint: mode
+          conditions:
+            - dps_val: m
+              value: heat
+            - dps_val: p
+              value: auto
+        - dps_val: false
+          value: "off"
+          icon: "mdi:radiator-disabled"
+    - id: 2
+      name: temperature
+      type: integer
+      range:
+        min: 0
+        max: 37
+    - id: 3
+      name: current_temperature
+      type: integer
+    - id: 4
+      name: mode
+      type: string
+      hidden: true
+    - id: 12
+      name: fault_code
+      type: bitfield
+    - id: 101
+      name: fan_mode
+      type: string
+      mapping:
+        - dps_val: "off"
+          value: "off"
+        - dps_val: low
+          value: low
+        - dps_val: mid
+          value: medium
+        - dps_val: high
+          value: high
+    - id: 102
+      name: preset_mode
+      type: boolean
+      mapping:
+        - dps_val: false
+          value: comfort
+        - dps_val: true
+          value: eco
+secondary_entities:
+  - entity: binary_sensor
+    name: Fault
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 12
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+  - entity: select
+    name: Schedule
+    icon: "mdi:calendar-clock"
+    category: config
+    dps:
+      - id: 104
+        type: string
+        name: option
+        mapping:
+          - dps_val: holiday
+            value: Holiday
+          - dps_val: program
+            value: Program
+      - id: 103
+        type: string
+        name: schedule_data