فهرست منبع

feat(madimack_elite_v3_heatpump): add compatible Aquark Mr Silence

Issue #5008

- added additional child lock (dp 3) and current temperature (dp 16),
  with redirect to inflow temp as before when missing (log for Aquark
  also shows it missing, along with child lock dp).

- identified fault_code_2 (dp 101) and work_mode_option (dp 107) which
  selects whether the device supports 2 presets (without boost) or 3.
Jason Rumney 1 هفته پیش
والد
کامیت
9cd85342bb
1فایلهای تغییر یافته به همراه38 افزوده شده و 7 حذف شده
  1. 38 7
      custom_components/tuya_local/devices/madimack_elite_v3_heatpump.yaml

+ 38 - 7
custom_components/tuya_local/devices/madimack_elite_v3_heatpump.yaml

@@ -1,4 +1,8 @@
 name: Pool heat pump
 name: Pool heat pump
+products:
+  - id: gpzittzfnzhduquz
+    manufacturer: Aquark
+    model: Mr Silence 90
 entities:
 entities:
   - entity: climate
   - entity: climate
     translation_only_key: pool_heatpump
     translation_only_key: pool_heatpump
@@ -46,28 +50,32 @@ entities:
             value: comfort
             value: comfort
           - dps_val: boost
           - dps_val: boost
             value: boost
             value: boost
+            available: has_boost
       - id: 6
       - id: 6
         name: temperature_unit
         name: temperature_unit
         type: string
         type: string
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F
-          - dps_val: c
-            value: C
+          - value: C
       - id: 21
       - id: 21
         type: integer
         type: integer
         name: max_temperature
         name: max_temperature
       - id: 22
       - id: 22
         type: integer
         type: integer
         name: min_temperature
         name: min_temperature
-      - id: 102
+      - id: 16
         name: current_temperature
         name: current_temperature
         type: integer
         type: integer
-      - id: 101
-        name: unknown_101
+        optional: true
+        mapping:
+          - dps_val: null
+            value_redirect: inflow_temperature
+      - id: 102
+        name: inflow_temperature
         type: integer
         type: integer
       - id: 107
       - id: 107
-        name: unknown_107
+        name: has_boost
         type: boolean
         type: boolean
   - entity: binary_sensor
   - entity: binary_sensor
     class: problem
     class: problem
@@ -78,11 +86,18 @@ entities:
         name: sensor
         name: sensor
         mapping:
         mapping:
           - dps_val: 0
           - dps_val: 0
-            value: false
+            value: true
+            constraint: fault_code_2
+            conditions:
+              - dps_val: 0
+                value: false
           - value: true
           - value: true
       - id: 15
       - id: 15
         type: bitfield
         type: bitfield
         name: fault_code
         name: fault_code
+      - id: 101
+        type: bitfield
+        name: fault_code_2
   - entity: sensor
   - entity: sensor
     category: diagnostic
     category: diagnostic
     name: Power level
     name: Power level
@@ -209,3 +224,19 @@ entities:
       - id: 106
       - id: 106
         name: sensor
         name: sensor
         type: integer
         type: integer
+  - entity: lock
+    translation_key: child_lock
+    category: config
+    hidden: unavailable
+    dps:
+      - id: 3
+        type: boolean
+        optional: true
+        name: lock
+      - id: 3
+        type: boolean
+        optional: true
+        mapping:
+          - dps_val: null
+            value: false
+          - value: true