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

Add support for Taurus Agadir oil column heaters

Issue #1478
Jason Rumney 2 лет назад
Родитель
Сommit
19c676e335
3 измененных файлов с 160 добавлено и 0 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 158 0
      custom_components/tuya_local/devices/taurus_agadir_heater.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -464,3 +464,4 @@ Further device support has been made with the assistance of users. Please consid
 - [vojeroen](https://github.com/vojeroen) for contributing support for CleanAir 605B humidifiers.
 - [fantnhu](https://github.com/fantnhu) for assisting with support for Tesla aroma diffusers and PNI water feeders.
 - [sudo-nitz](https://github.com/sudo-nitz) for assisting with support for Yagusmart 3PN 63A energy meter.
+- [jedubois](https://github.com/jedubois) for assisting with support for Taurus Agadir oil column heaters.

+ 1 - 0
DEVICES.md

@@ -45,6 +45,7 @@
 - Quality Heating QH-GD Elegant Series IR panel heaters
 - Rumba bathroom heater
 - Sonnenkonig Eco 700 IR panel heater (probably also other Eco/Elegance series heaters)
+- Taurus Agadir Connect oil column heaters
 - Touchstone Sideline electric fireplace
 - Wetair WCH-750 heater
 

+ 158 - 0
custom_components/tuya_local/devices/taurus_agadir_heater.yaml

@@ -0,0 +1,158 @@
+name: Radiator
+products:
+  - id: rs1azmhtak4bo0o5
+    name: Taurus Agadir Connect 2000
+primary_entity:
+  sensor: climate
+  icon: "mdi:radiator"
+  dps:
+    - id: 1
+      type: boolean
+      name: hvac_mode
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          value: "heat"
+    - id: 2
+      type: integer
+      name: temperature
+      unit: C
+      range:
+        min: 5
+        max: 35
+    - id: 4
+      type: string
+      name: preset_mode
+      mapping:
+        - dps_val: CF
+          value: home
+        - dps_val: AF
+          value: away
+    - id: 11
+      type: string
+      name: hvac_action
+      mapping:
+        - constraint: hvac_mode
+          conditions:
+            - dps_val: false
+              value: "off"
+            - mapping:
+                - dps_val: working
+                  value: heating
+                - dps_val: standby
+                  value: idle
+    - id: 101
+      type: string
+      name: fan_mode
+      mapping:
+        - dps_val: H1
+          value: low
+        - dps_val: H2
+          value: medium
+        - dps_val: H3
+          value: high
+secondary_entities:
+  - entity: lock
+    name: Child lock
+    icon: "mdi:hand-back-right-off"
+    category: config
+    dps:
+      - id: 7
+        type: boolean
+        name: lock
+  - entity: select
+    name: Timer
+    icon: "mdi:timer"
+    category: config
+    dps:
+      - id: 19
+        type: string
+        name: option
+        mapping:
+          - dps_val: cancel
+            value: "Off"
+          - dps_val: 1h
+            value: 1 hour
+          - dps_val: 2h
+            value: 2 hours
+          - dps_val: 3h
+            value: 3 hours
+          - dps_val: 4h
+            value: 4 hours
+          - dps_val: 5h
+            value: 5 hours
+          - dps_val: 6h
+            value: 6 hours
+          - dps_val: 7h
+            value: 7 hours
+          - dps_val: 8h
+            value: 8 hours
+          - dps_val: 9h
+            value: 9 hours
+          - dps_val: 10h
+            value: 10 hours
+          - dps_val: 11h
+            value: 11 hours
+          - dps_val: 12h
+            value: 12 hours
+          - dps_val: 13h
+            value: 13 hours
+          - dps_val: 14h
+            value: 14 hours
+          - dps_val: 15h
+            value: 15 hours
+          - dps_val: 16h
+            value: 16 hours
+          - dps_val: 17h
+            value: 17 hours
+          - dps_val: 18h
+            value: 18 hours
+          - dps_val: 19h
+            value: 19 hours
+          - dps_val: 20h
+            value: 20 hours
+          - dps_val: 21h
+            value: 21 hours
+          - dps_val: 22h
+            value: 22 hours
+          - dps_val: 23h
+            value: 23 hours
+          - dps_val: 24h
+            value: 24 hours
+  - entity: sensor
+    name: Time remaining
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 20
+        type: integer
+        name: sensor
+        unit: min
+  - entity: binary_sensor
+    name: Fault
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 21
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+      - id: 21
+        type: bitfield
+        name: fault_code
+  - entity: light
+    name: Display
+    category: config
+    dps:
+      - id: 103
+        type: boolean
+        name: switch
+        mapping:
+          - dps_val: true
+            value: false
+          - dps_val: false
+            value: true