Explorar el Código

Add support for Rumba bathroom heater

Issue #463
Jason Rumney hace 2 años
padre
commit
649984d8a7

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -239,3 +239,4 @@ Further device support has been made with the assistance of users.  Please consi
 - [matteozamu](https://github.com/matteozamu) for assisting with support for LoraTap garage doors.
 - [chemicalstorm](https://github.com/chemicalstorm) for contributing support for Catit pixi 6-meal pet feeder.
 - [darki73](https://github.com/darki73) for contributing support for SHerko smart curtain motorss.
+- [karolzamosc](https://github.com/karolzamosc) for assisting with support for Rumba bathroom heaters.

+ 1 - 0
DEVICES.md

@@ -23,6 +23,7 @@
 - Nedis convection heater - WIFIHTPL20F model
 - Orion OWH-PTC2000 heater
 - Purline Hoti M100 heater
+- Rumba bathroom heater
 - Wetair WCH-750 heater
 
 ### Air Conditioners / Heatpumps

+ 65 - 0
custom_components/tuya_local/devices/rumba_bathroom_heater.yaml

@@ -0,0 +1,65 @@
+name: Bathroom heater
+primary_entity:
+  entity: climate
+  icon: "mdi: radiator"
+  dps:
+    - id: 1
+      name: hvac_mode
+      type: boolean
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          value: heat
+    - id: 2
+      name: mode
+      type: string
+      mapping:
+        - dps_val: hot
+          value: Comfort
+        - dps_val: eco
+          value: Economy
+        - dps_val: cold
+          value: Anti-frost
+        - dps_val: auto
+          value: Program
+    - id: 16
+      name: temperature
+      type: integer
+      unit: C
+      range:
+        min: 150
+        max: 700
+      mapping:
+        - scale: 10
+          step: 5
+    - id: 24
+      name: current_temperature
+      type: integer
+      mapping:
+        - scale: 10
+    - id: 110
+      name: schedule
+      type: string
+      optional: true
+secondary_entities:
+  - entity: number
+    name: Temperature correction
+    category: config
+    icon: "mdi:thermometer-check"
+    dps:
+      - id: 27
+        type: integer
+        name: value
+        range:
+          min: -5
+          max: 5
+  - entity: lock
+    name: Child lock
+    icon: "mdi:hand-back-right-off"
+    category: config
+    dps:
+      - id: 40
+        type: boolean
+        name: lock
+