Selaa lähdekoodia

feat (lehmann_lhohc2013c_radiator): add compatible Jocel heater

- make device name more generic to avoid confusion
- add product details for Jocel heater
- use standard preset names instead of specific wattage that differs
  between products.

Closes PR #3994
Jason Rumney 3 kuukautta sitten
vanhempi
commit
7f05c6d237

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1119,3 +1119,4 @@ Further device support has been made with the assistance of users. Please consid
 - [rbswift](https://github.com/rbswift) for assisting with support for Intaflo Intabloc air-water heat pump.
 - [evilpig](https://github.com/evilpig) for assisting with support for Homvana H111S humidifier.
 - [veista](https://github.com/veista) for contributing improvements to Immax Neo Lite weather station.
+- [DavidRomao](https://github.com/DavidRomao) for contributing support for Jocel JCT007452 heater, merged into compatible Lehmann config.

+ 8 - 5
custom_components/tuya_local/devices/lehmann_lhohc2013c_radiator.yaml

@@ -1,8 +1,11 @@
-name: Radiator
+name: Heater
 products:
   - id: wcpmk08nnnynbhy7
     manufacturer: Lehmann
     model: LHOHC-2013C
+  - id: qhpaegcadawabwct
+    manufacturer: Jocel
+    model: JCT007452
 entities:
   - entity: climate
     translation_only_key: heater
@@ -33,13 +36,13 @@ entities:
             constraint: level
             conditions:
               - dps_val: "1"
-                value: "750W"
+                value: eco
               - dps_val: "2"
-                value: "1250W"
+                value: comfort
               - dps_val: "3"
-                value: "2000W"
+                value: boost
               - dps_val: "4"
-                value: "0W"
+                value: none
           - dps_val: smart
             value: away
           - dps_val: standby