Ver código fonte

Add support for Goldair PH-ET07EA heater

Issue #1898
Jason Rumney 1 ano atrás
pai
commit
2c0681039d

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -576,3 +576,4 @@ Further device support has been made with the assistance of users. Please consid
 - [opolczer](https://github.com/opolczer) for assisting with support for KY 35W-10 shutter controllers and Fisher air to water heat pump.
 - [jannisan](https://github.com/jannisan) for contributing support for Divoo DWV010 dual water timers.
 - [pergolafabio](https://github.com/pergolafabio) for contributing support for V330 pet feeders.
+- [contactnat](https://github.com/contactnat) for assistance with Goldair PH-ET07EA heaters.

+ 1 - 1
DEVICES.md

@@ -23,7 +23,7 @@
 - Eurom Sani heated towel rail
 - Eurom Sani Wall Heat 2000 heater
 - Eurom Wall Designheat 2000 heater
-- Goldair heater models beginning with the code GPPH, GCPV, GECO
+- Goldair heater models beginning with the code GPPH, GCPV, GECO, PH-ET
 - Hama radiator controller
 - Heatstorm HS-6000-GC heavy duty heater
 - Herschel infrared heater

+ 52 - 0
custom_components/tuya_local/devices/goldair_phet07ea_heater.yaml

@@ -0,0 +1,52 @@
+name: Panel heater
+products:
+  - id: 71v2TpoRp54r0Vmj
+    name: Goldair PH-ET07EA
+primary_entity:
+  entity: climate
+  translation_key: heater
+  dps:
+    - id: 1
+      type: switch
+      name: hvac_mode
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          value: heat
+    - id: 3
+      type: integer
+      name: temperature
+      unit: C
+      range:
+        min: 0
+        max: 37
+    - id: 4
+      type: integer
+      name: current_temperature
+    - id: 101
+      type: string
+      optional: true
+      name: mod
+secondary_entities:
+  - entity: lock
+    translation_key: child_lock
+    category: config
+    dps:
+      - id: 2
+        type: boolean
+        name: lock
+  - entity: number
+    translation_key: timer
+    category: config
+    dps:
+      - id: 5
+        type: integer
+        name: value
+        unit: h
+        range:
+          min: 0
+          max: 1440
+        mapping:
+          - step: 60
+            scale: 60