Kaynağa Gözat

Update madimack_inverflow_pro.yaml

jameskoziol 2 yıl önce
ebeveyn
işleme
0c70bcfab4

+ 54 - 3
custom_components/tuya_local/devices/madimack_inverflow_pro.yaml

@@ -11,12 +11,15 @@ primary_entity:
     - id: 116
       name: unknown_116
       type: string
+      hidden: true
     - id: 117
       name: unknown_117
       type: string
+      hidden: true
     - id: 115
       name: unknown_115
       type: boolean
+      hidden: true
 secondary_entities:
   - entity: select
     name: Pump mode
@@ -30,7 +33,7 @@ secondary_entities:
           - dps_val: "MI"
             value: "Manual"
           - dps_val: "AI"
-            value: "AI Flow set"
+            value: "AI Flow"
           - dps_val: "backwash"
             value: "Boost"
   - entity: select
@@ -142,7 +145,6 @@ secondary_entities:
             value: "gal/min"
   - entity: sensor
     name: Hourly energy usage
-    class: energy
     category: diagnostic
     dps:
       - id: 109
@@ -177,7 +179,56 @@ secondary_entities:
           - default: true
       - id: 2
         type: bitfield
-        name: Fault code
+        name: "Fault:"
+        mapping:
+          - dps_val: 0
+            value: "None"
+          - dps_val: "E001"
+            value: "E001 - Abnormal input voltage"
+          - dps_val: "E002"
+            value: "E002 - Output over current"
+          - dps_val: "E101"
+            value: "E101 - Heat sink over heat"
+          - dps_val: "E102"
+            value: "E102 - Heat sink sensor error"
+          - dps_val: "E103"
+            value: "E103 - Master driver board error"
+          - dps_val: "E104"
+            value: "E104 - Phase-deficient protection"
+          - dps_val: "E105"
+            value: "E105 - AC current sampling circuit failure"
+          - dps_val: "E106"
+            value: "E106 - DC abnormal voltage"
+          - dps_val: "E107"
+            value: "E107 - PFC protection"
+          - dps_val: "E108"
+            value: "E108 - Motor power overload"
+          - dps_val: "E201"
+            value: "E201 - Circuit board error"
+          - dps_val: "E202"
+            value: "E202 - Master board EEPROM reading failure"
+          - dps_val: "E203"
+            value: "E203 - RTC time reading error"
+          - dps_val: "E204"
+            value: "E204 - Display Board EEPROM reading failure"
+          - dps_val: "E205"
+            value: "E205 - Communication Error"
+          - dps_val: "E206"
+            value: "E206 - RS485 communication Error"
+          - dps_val: "E207"
+            value: "E207 - No water protection"
+          - dps_val: "E208"
+            value: "E208 - Pressure sensor failure"
+          - dps_val: "E209"
+            value: "E209 - Loss of prime"
+          - dps_val: "AL01"
+            value: "AL01 - High temperature warning deceleration"
+          - dps_val: "AL02"
+            value: "AL02 - AC voltage low droop"
+          - dps_val: "AL03"
+            value: "AL03 - Anti Freezing"
+          - dps_val: "E003"
+            value: "E003 - No water protection"
   - entity: binary_sensor
     name: Flow pressure warning
     category: diagnostic