فهرست منبع

Ad support for Heat Storm HS-6000-GC heater.

Issue #510
Jason Rumney 2 سال پیش
والد
کامیت
6294d39bfa
3فایلهای تغییر یافته به همراه125 افزوده شده و 0 حذف شده
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 123 0
      custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -210,3 +210,4 @@ Further device support has been made with the assistance of users.  Please consi
 - [maksmink](https://github.com/maksmink) for assisting with support for Eurom Mon Soleil 800 heaters (different again than the two 600 models already supported).
 - [nijel](https://github.com/nijel) for assisting with support for WHM-04 doorbells.
 - [shiner66](https://github.com/shiner66) for assisting with support for Shinco 30D dehumidifier.
+- [A-J-O](https://github.com/A-J-O) for assisting with support for Heat Storm 6000W heaters.

+ 1 - 0
DEVICES.md

@@ -13,6 +13,7 @@
 - Eurom Sani Wall Heat 2000 heater
 - Eurom Wall Designheat 2000 heater
 - Goldair heater models beginning with the code GPPH, GCPV, GECO
+- Heatstorm HS-6000-GC heavy duty heater
 - HJZ oil column radiator
 - INOW Wi-Fi heating element
 - Kogan flame effect heater - KAWHMFP20BA model

+ 123 - 0
custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml

@@ -0,0 +1,123 @@
+name: Heatstorm heavy duty heater
+products:
+  - id: wta6rb1zqwayghxv
+    name: HS-6000-GC
+primary_entity:
+  entity: climate
+  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
+      range:
+        min: 4
+        max: 37
+      mapping:
+        - constraint: temperature_unit
+          conditions:
+            - dps_val: f
+              value_redirect: set_temp_f
+              range:
+                min: 40
+                max: 99
+    - id: 3
+      type: integer
+      name: current_temperature
+      mapping:
+        - constraint: temperature_unit
+          conditions:
+            - dps_val: f
+              value_redirect: cur_temp_f
+    - id: 4
+      type: string
+      name: preset_mode
+      mapping:
+        - dps_val: auto
+          value: Auto
+        - dps_val: low
+          value: Low
+        - dps_val: high
+          value: High
+    - id: 13
+      type: bitfield
+      name: fault_code
+      mapping:
+        - dps_val: 1
+          value: Temp sensor fault
+        - dps_val: 2
+          value: Tilt over
+        - dps_val: 3
+          value: Over-voltage
+    - id: 19
+      type: string
+      name: temperature_unit
+      hidden: true
+    - id: 20
+      type: integer
+      name: set_temp_f
+      range:
+        min: 40
+        max: 99
+      hidden: true
+    - id: 21
+      type: integer
+      name: cur_temp_f
+      hidden: true
+secondary_entities:
+  - entity: light
+    name: Display
+    category: config
+    dps:
+      - id: 5
+        name: brightness
+        type: integer
+        mapping:
+          - dps_val: "Off"
+            value: 0
+          - dps_val: "10"
+            value: 26
+          - dps_val: "50"
+            value: 128
+          - dps_val: "100"
+            value: 255
+  - entity: lock
+    name: Child lock
+    icon: "mdi:hand-back-right-off"
+    category: config
+    dps:
+      - id: 7
+        type: boolean
+        name: lock
+  - entity: binary_sensor
+    name: Fault
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 13
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+  - entity: select
+    name: Temperature unit
+    icon: "mdi:temperature-celsius"
+    category: config
+    dps:
+      - id: 19
+        type: string
+        name: option
+        mapping:
+          - dps_val: c
+            value: Celsius
+          - dps_val: f
+            value: Fahrenheit
+