Przeglądaj źródła

feat(devices): add Gamp BCV-300 water heat pump

Issue #5689
Jason Rumney 1 miesiąc temu
rodzic
commit
c33dd3c04e

+ 1 - 0
DEVICES.md

@@ -234,6 +234,7 @@
 - Envirosun ES330M9 hot water system
 - Ferroli EGEA and Titano Twin water heaters
 - Fisher air to water heat pump
+- Gamp BCV 300 water heat pump
 - Geyserwise TSE1 and MWS Geyser controller kits
 - Giatsu VAW 2 heat pump water heater
 - Haier air-water combo heat pump

+ 80 - 0
custom_components/tuya_local/devices/gamp_bcv300_waterheater.yaml

@@ -0,0 +1,80 @@
+name: Water heat pump
+entities:
+  - entity: water_heater
+    dps:
+      - id: 1
+        type: boolean
+        name: operation_mode
+        mapping:
+          - dps_val: false
+            value: "off"
+          - dps_val: true
+            mapping:
+              - constraint: electric
+                conditions:
+                  - dps_val: true
+                    value: electric
+                  - dps_val: false
+                    value: heat_pump
+                  - dps_val: null
+                    value: heat_pump
+      - id: 2
+        type: integer
+        name: temperature
+        unit: C
+        range:
+          min: 10
+          max: 60
+      - id: 3
+        type: integer
+        name: current_temperature
+      - id: 101
+        type: boolean
+        optional: true
+        name: electric
+        hidden: true
+  - entity: lock
+    translation_key: child_lock
+    category: config
+    dps:
+      - id: 7
+        optional: true
+        type: boolean
+        name: lock
+  - entity: sensor
+    translation_key: status
+    class: enum
+    category: diagnostic
+    dps:
+      - id: 11
+        type: string
+        name: sensor
+        mapping:
+          - dps_val: standby
+            value: standby
+          - dps_val: running
+            value: heating
+          - dps_val: defrost
+            value: anti_freeze
+          - dps_val: shutdown
+            value: "off"
+          - dps_val: disinfect
+            value: sterilizing
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 21
+        type: bitfield
+        optional: true
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - dps_val: null
+            value: false
+          - value: true
+      - id: 21
+        type: bitfield
+        optional: true
+        name: fault_code