Просмотр исходного кода

Add support for Klarstein Wonderwall Bornholm IR panel heater

Issue #2317
Jason Rumney 1 год назад
Родитель
Сommit
0bc988f7df
3 измененных файлов с 123 добавлено и 1 удалено
  1. 1 1
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 121 0
      custom_components/tuya_local/devices/klarstein_wonderwall_bornholm.yaml

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -450,7 +450,7 @@ Further device support has been made with the assistance of users. Please consid
 - [uandco](https://github.com/uandco) for assisting with support for Evotherm ETI pool heatpumps.
 - [uandco](https://github.com/uandco) for assisting with support for Evotherm ETI pool heatpumps.
 - [almirus](https://github.com/almirus) for contributing support for Neatsvor X500 vacuums, TH05-BLE temperature/humidity sensors, SGS01 and TCS024B soil moisture BLE sensors, Dongguan curtain robots, LightStar track lights, Royal Clima Fresh heatpumps.
 - [almirus](https://github.com/almirus) for contributing support for Neatsvor X500 vacuums, TH05-BLE temperature/humidity sensors, SGS01 and TCS024B soil moisture BLE sensors, Dongguan curtain robots, LightStar track lights, Royal Clima Fresh heatpumps.
 - [kinkamez](https://github.com/kinkamez) for contributing support for Prosto PRC 2000 heaters.
 - [kinkamez](https://github.com/kinkamez) for contributing support for Prosto PRC 2000 heaters.
-- [MarkPaxton](https://github.com/MarkPaxton) for contributing support for Hombli radiator controllers.
+- [MarkPaxton](https://github.com/MarkPaxton) for contributing support for Hombli radiator controller and assisting with support for Klarstein Wonderwall Bornholm heater.
 - [mmib](https://github.com/mmib) for contributing support for Becasmart irrigation systems.
 - [mmib](https://github.com/mmib) for contributing support for Becasmart irrigation systems.
 - [kkot86](https://github.com/kkot86) for contributing support for Air Housekeeper air quality monitors.
 - [kkot86](https://github.com/kkot86) for contributing support for Air Housekeeper air quality monitors.
 - [NoXPhasma](https://github.com/NoXPhasma) for assisting with support for Juskys oil radiators.
 - [NoXPhasma](https://github.com/NoXPhasma) for assisting with support for Juskys oil radiators.

+ 1 - 0
DEVICES.md

@@ -37,6 +37,7 @@
 - Kennedy II/JR electric fireplace
 - Kennedy II/JR electric fireplace
 - Kesser Infrared 400W wall and 3000W heaters.
 - Kesser Infrared 400W wall and 3000W heaters.
 - Klarstein Wonderwall Air Art IR heater
 - Klarstein Wonderwall Air Art IR heater
+- Klarstein Wonderwall Bornholm IR heater
 - Klarstein Wonderwall IR heater
 - Klarstein Wonderwall IR heater
 - Kogan flame effect heater - KAWHMFP20BA model
 - Kogan flame effect heater - KAWHMFP20BA model
 - Kogan tower heater - KASTHFP2KWA model
 - Kogan tower heater - KASTHFP2KWA model

+ 121 - 0
custom_components/tuya_local/devices/klarstein_wonderwall_bornholm.yaml

@@ -0,0 +1,121 @@
+name: Heater
+products:
+  - id: kwicelwvcvgru9vr
+    name: Klarstein Wonderwall Bornholm IR GL23040
+primary_entity:
+  entity: climate
+  translation_key: heater
+  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: 5
+        max: 50
+      unit: C
+    - id: 3
+      type: integer
+      name: current_temperature
+    - id: 6
+      type: boolean
+      name: preset_mode
+      mapping:
+        - dps_val: true
+          value: eco
+        - dps_val: false
+          value: comfort
+    - id: 11
+      type: string
+      name: hvac_action
+      mapping:
+        - dps_val: standby
+          value: idle
+secondary_entities:
+  - entity: lock
+    translation_key: child_lock
+    category: config
+    dps:
+      - id: 7
+        type: boolean
+        name: lock
+  - entity: light
+    translation_key: display
+    dps:
+      - id: 10
+        type: boolean
+        name: switch
+  - entity: select
+    translation_key: timer
+    category: config
+    dps:
+      - id: 19
+        type: string
+        name: option
+        mapping:
+          - dps_val: cancel
+            value: cancel
+          - dps_val: "1h"
+            value: "1h"
+          - dps_val: "2h"
+            value: "2h"
+          - dps_val: "3h"
+            value: "3h"
+          - dps_val: "4h"
+            value: "4h"
+          - dps_val: "5h"
+            value: "5h"
+          - dps_val: "6h"
+            value: "6h"
+          - dps_val: "7h"
+            value: "7h"
+          - dps_val: "8h"
+            value: "8h"
+          - dps_val: "9h"
+            value: "9h"
+          - dps_val: "10h"
+            value: "10h"
+          - dps_val: "11h"
+            value: "11h"
+          - dps_val: "12h"
+            value: "12h"
+          - dps_val: "13h"
+            value: "13h"
+          - dps_val: "14h"
+            value: "14h"
+          - dps_val: "15h"
+            value: "15h"
+          - dps_val: "16h"
+            value: "16h"
+          - dps_val: "17h"
+            value: "17h"
+          - dps_val: "18h"
+            value: "18h"
+          - dps_val: "19h"
+            value: "19h"
+          - dps_val: "20h"
+            value: "20h"
+          - dps_val: "21h"
+            value: "21h"
+          - dps_val: "22h"
+            value: "22h"
+          - dps_val: "23h"
+            value: "23h"
+          - dps_val: "24h"
+            value: "24h"
+  - entity: sensor
+    translation_key: time_remaining
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 20
+        type: integer
+        name: sensor
+        unit: min