瀏覽代碼

Update madimack_elite_v3_heatpump.yaml

Added dps 15 to secondary entities (fault code), mapping of fault code to actual message is to be researched. Also added 102 (Inlet water temperature) to secondary entities as well, to get a more consistent list in HA, similar to the Tuya app.
sikkek 1 年之前
父節點
當前提交
fab8e217de
共有 1 個文件被更改,包括 23 次插入0 次删除
  1. 23 0
      custom_components/tuya_local/devices/madimack_elite_v3_heatpump.yaml

+ 23 - 0
custom_components/tuya_local/devices/madimack_elite_v3_heatpump.yaml

@@ -76,6 +76,13 @@ primary_entity:
       name: unknown_107
       type: boolean
 secondary_entities:
+  - entity: sensor
+    category: diagnostic
+    name: Fault code
+    dps:
+      - id: 15
+        name: sensor
+        type: integer
   - entity: sensor
     category: diagnostic
     name: Power level
@@ -117,6 +124,22 @@ secondary_entities:
             value: F
           - dps_val: c
             value: C
+  - entity: sensor
+    category: diagnostic
+    name: Inlet water temperature
+    class: temperature
+    dps:
+      - id: 102
+        name: sensor
+        type: integer
+      - id: 6
+        name: unit
+        type: string
+        mapping:
+          - dps_val: f
+            value: F
+          - dps_val: c
+            value: C
   - entity: sensor
     category: diagnostic
     name: Outlet water temperature