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

Add support for Nulite monobloc heat pump

Issue #2797
Jason Rumney 1 год назад
Родитель
Сommit
766df271a9
3 измененных файлов с 102 добавлено и 0 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 100 0
      custom_components/tuya_local/devices/nulite_nlb245_heatpump.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -832,3 +832,4 @@ Further device support has been made with the assistance of users. Please consid
 - [point2start](https://github.com/point2start) for assisting with support for Atorch AT4PTW thermostat.
 - [maLLoud86](https://github.com/maLLoud86) for assisting with support for iSparkle Curtain Micro Lights.
 - [josvink66](https://github.com/josvink66) for assisting with support for Easybaby GS-801 infant formula maker.
+- [Karlsons88](https://github.com/Karlsons88) for assisting with support for Nulite monobloc heat pump.

+ 1 - 0
DEVICES.md

@@ -164,6 +164,7 @@
 - ITS-4.5HD super water heat pump
 - Koi Duo HTW-TD-080KOID
 - Modena ES-15-SKY water heater
+- Nulite NL-B245 monobloc heat pump
 - Powerworld PW58330 hot water and climate heat pump
 - Powerworld PW58410 hot water and climate heat pump
 - Sanden GAU-A45HPD WiFi heat pump controller

+ 100 - 0
custom_components/tuya_local/devices/nulite_nlb245_heatpump.yaml

@@ -0,0 +1,100 @@
+name: Heat pump
+# products:
+#   - id: UNKNOWN
+#     manufacturer: Nulite
+#     model: NL-B245
+entities:
+  - entity: climate
+    dps:
+      - id: 1
+        type: boolean
+        name: hvac_mode
+        mapping:
+          - dps_val: false
+            value: "off"
+            available: air_only
+          - dps_val: true
+            constraint: mode
+            conditions:
+              - dps_val: Heat
+                value: heat
+                available: air_only
+              - dps_val: Cool
+                value: cool
+                available: air_only
+              - dps_val: HotWater
+                value: "off"
+                available: dhw
+              - dps_val: Heat_HotWater
+                value: heat
+                available: dhw
+              - dps_val: Cool_HotWater
+                value: cool
+                available: dhw
+      - id: 2
+        type: integer
+        name: temperature
+        unit: C
+        range:
+          min: 8
+          max: 60
+      - id: 3
+        type: integer
+        name: current_temperature
+      - id: 4
+        type: string
+        name: mode
+        hidden: true
+      - id: 4
+        type: string
+        name: dhw
+        mapping:
+          - value: false
+            conditions:
+              - dps_val: [HotWater, Heat_HotWater, Cool_HotWater]
+                value: true
+      - id: 4
+        type: string
+        name: air_only
+        mapping:
+          - value: true
+            conditions:
+              - dps_val: [HotWater, Heat_HotWater, Cool_HotWater]
+                value: false
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 13
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+      - id: 13
+        type: bitfield
+        name: fault_code
+  - entity: water_heater
+    dps:
+      - id: 4
+        type: string
+        name: operation_mode
+        mapping:
+          - dps_val: Heat
+            value: Heat
+          - dps_val: Cool
+            value: Cool
+          - dps_val: HotWater
+            value: Hot water
+          - dps_val: Heat_HotWater
+            value: Heat and hot water
+          - dps_val: Cool_HotWater
+            value: Cool and hot water
+      - id: 101
+        type: integer
+        name: temperature
+        unit: C
+        range:
+          min: 20
+          max: 50