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

Mountfield Azuro pool heath pump (#5005)

* Mountfiled Azuro support

* fix(mountfield_azuro_poolheatpump): naming changes

- include device type in filename to assist users to find the right match
- shorten some entity names and commonise them with other similar configs.

PR #5005

---------

Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>
kasparmir 1 неделя назад
Родитель
Сommit
77a0a818ef
1 измененных файлов с 112 добавлено и 0 удалено
  1. 112 0
      custom_components/tuya_local/devices/mountfield_azuro_poolheatpump.yaml

+ 112 - 0
custom_components/tuya_local/devices/mountfield_azuro_poolheatpump.yaml

@@ -0,0 +1,112 @@
+name: Pool heat pump
+products:
+  - id: vw4rtznkehten691
+    manufacturer: Mountfield
+    model: Azuro
+entities:
+  - entity: climate
+    translation_key: pool_heatpump
+    dps:
+      - id: 1
+        name: hvac_mode
+        type: boolean
+        mapping:
+          - dps_val: false
+            value: "off"
+          - dps_val: true
+            constraint: hvac_mode_switch
+            conditions:
+              - dps_val: Auto
+                value: auto
+              - dps_val: Cooling
+                value: cool
+              - dps_val: Heating
+                value: heat
+
+      - id: 4
+        name: hvac_mode_switch
+        type: string
+        hidden: true
+      - id: 2
+        type: integer
+        name: temperature
+        unit: "°C"
+        range:
+          min: 5
+          max: 40
+      - id: 3
+        type: integer
+        name: current_temperature
+
+  - entity: sensor
+    class: temperature
+    translation_key: ambient_temperature
+    dps:
+      - id: 102
+        type: integer
+        name: sensor
+        unit: "°C"
+  - entity: sensor
+    class: temperature
+    name: Heatcoil temperature
+    category: diagnostic
+    dps:
+      - id: 104
+        type: integer
+        name: sensor
+        unit: "°C"
+  - entity: binary_sensor
+    name: Water flow
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 21
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 256
+            value: true
+          - value: false
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 21
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - dps_val: 256
+            value: false
+          - value: true
+      - id: 21
+        type: bitfield
+        name: fault_code
+  - entity: sensor
+    class: temperature
+    name: Compressor temperature
+    category: diagnostic
+    dps:
+      - id: 103
+        type: integer
+        name: sensor
+        unit: "°C"
+  - entity: sensor
+    class: temperature
+    name: Inlet temperature
+    category: diagnostic
+    dps:
+      - id: 101
+        type: integer
+        name: sensor
+        unit: "°C"
+  - entity: sensor
+    class: temperature
+    name: Outlet temperature
+    category: diagnostic
+    dps:
+      - id: 105
+        type: integer
+        name: sensor
+        unit: "°C"