Browse Source

Poolex Q-line: add anti-freeze protection detection

Issue #1510
Jason Rumney 2 năm trước cách đây
mục cha
commit
b663b8a339

+ 20 - 4
custom_components/tuya_local/devices/poolex_qline_heatpump.yaml

@@ -45,9 +45,13 @@ primary_entity:
         - dps_val: 0
           value: "OK"
         - dps_val: 1
-          value: "Water Flow Protection"
+          value: "Water flow protection"
           icon: "mdi:water-pump-off"
           icon_priority: 2
+        - dps_val: 2
+          value: "Anti-freeze proteection"
+          icon: "mdi:snowflake-alert"
+          icon_priority: 2
     - id: 16
       name: current_temperature
       type: integer
@@ -61,6 +65,18 @@ secondary_entities:
         type: bitfield
         name: sensor
         mapping:
-          - dps_val: 0
-            value: false
-          - value: true
+          - dps_val: 1
+            value: true
+          - value: false
+  - entity: binary_sensor
+    name: Anti-freeze
+    class: cold
+    category: diagnostic
+    dps:
+      - id: 15
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 2
+            value: true
+          - value: false