Explorar o código

Adding support for Warme Eletrical Heater

Brendan %!s(int64=2) %!d(string=hai) anos
pai
achega
6fc75f653e
Modificáronse 1 ficheiros con 38 adicións e 0 borrados
  1. 38 0
      custom_components/tuya_local/devices/warme_gsh_heater.yaml

+ 38 - 0
custom_components/tuya_local/devices/warme_gsh_heater.yaml

@@ -0,0 +1,38 @@
+name: Warme GSH heater
+products:
+  - id: 8UGflCDtNYJw1dZs
+    name: Warme GSH heater
+primary_entity:
+  entity: climate
+  dps:
+    - id: 1
+      type: boolean
+      name: hvac_mode
+      mapping:
+        - dps_val: true
+          value: "heat"
+          icon: "mdi:radiator"
+        - dps_val: false
+          value: "off"
+          icon: "mdi:radiator-disabled"
+    - id: 2
+      name: temperature
+      type: integer
+      precision: 0
+      unit: "C"
+      range:
+        min: 12
+        max: 50
+    - id: 3
+      name: current_temperature
+      type: integer
+      readonly: true
+      unit: "C"
+    - id: 101
+      name: turn_off_screen
+      type: boolean
+      typeDefaultValue: false
+    - id: 102
+      name: heat_mode
+      type: string
+      readonly: true