Jelajahi Sumber

Add support for Avatto TRV06 radiator valve

Issue #2435
Jason Rumney 1 tahun lalu
induk
melakukan
0a2b66d11e

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -696,7 +696,7 @@ Further device support has been made with the assistance of users. Please consid
 - [rmf1995](https://github.com/rmf1995) for contributing support for Giatsu VAW 2 heat pump water heater.
 - [murch1](https://github.com/murch1) for contributing support for Brilliant ceiling fan with light.
 - [NashHome](https://github.com/NashHome) for contributing support for Avatto curtain with double light switch.
-- [ciscolyon69](https://github.com/ciscolyon69) for assisting with support for another variant of MatSee Plus 2ch bidirectional clamp meter.
+- [ciscolyon69](https://github.com/ciscolyon69) for assisting with support for Avatto TRV06 radiator valve and another variant of MatSee Plus 2ch bidirectional clamp meter.
 - [cabmoomoo](https://github.com/cabmoomoo) for contributing support for Enbrighten curtain lights.
 - [eldi0s](https://github.com/eldi0s) for contributing support for Kesser IR heater with flood lights.
 - [willieseabrook](https://github.com/willieseabrook) for contributing support for Kogan KASMGPH glass panel heater.

+ 1 - 0
DEVICES.md

@@ -906,6 +906,7 @@ entity types as sub devices.
 ### Devices supported via Zigbee hubs
 
 - Aubess temperature and humidity sensor
+- Avatto TRV06 radiator valve (also sold branded as Thaleos)
 - Generic Zigbee Door Sensor
 - Intelbras IFR7000 door lock
 - Loginovo mmWave human presence sensor

+ 49 - 0
custom_components/tuya_local/devices/avatto_trv06_radiatorvalve.yaml

@@ -0,0 +1,49 @@
+name: Radiator
+products:
+  - id: ow09xlxm
+    name: Avatto/Thaleos TRV06
+primary_entity:
+  entity: climate
+  translation_key: heater
+  dps:
+    - id: 2
+      type: string
+      name: hvac_mode
+      mapping:
+        - dps_val: "off"
+          value: "off"
+        - dps_val: manual
+          value: heat
+        - dps_val: auto
+          value: auto
+    - id: 3
+      type: string
+      name: hvac_action
+      mapping:
+        - dps_val: opened
+          value: heating
+        - dps_val: closed
+          value: idle
+    - id: 4
+      type: integer
+      name: temperature
+      unit: C
+      mapping:
+        - scale: 10
+          step: 10
+      range:
+        min: 50
+        max: 350
+    - id: 5
+      type: integer
+      name: current_temperature
+      mapping:
+        - scale: 10
+secondary_entities:
+  - entity: lock
+    translation_key: child_lock
+    category: config
+    dps:
+      - id: 7
+        type: boolean
+        name: lock