Procházet zdrojové kódy

fix (arcelik_ahphmm_comboheatpump): separate defrost sensor again

Although HA has defrosting as a standard hvac_action value, the hvac_action
is always "off" when the climate is off. But in this device, the water heater
may still be on when the climate is off, and the defrost state is still of
interest.

PR #4200
Jason Rumney před 2 měsíci
rodič
revize
d00f89e8bc

+ 8 - 8
custom_components/tuya_local/devices/arcelik_ahphmm_comboheatpump.yaml

@@ -112,16 +112,9 @@ entities:
             value: "off"
             value: "off"
           - dps_val: true
           - dps_val: true
             value: heat_cool
             value: heat_cool
-      - id: 115
-        type: boolean
-        name: hvac_action
-        mapping:
-          - dps_val: true
-            value: defrosting
-          - value_redirect: actual_hvac_action
       - id: 117
       - id: 117
         type: boolean
         type: boolean
-        name: actual_hvac_action
+        name: hvac_action
         mapping:
         mapping:
           - dps_val: false
           - dps_val: false
             value: idle
             value: idle
@@ -305,6 +298,13 @@ entities:
         type: boolean
         type: boolean
         name: sensor
         name: sensor
 
 
+  - entity: binary_sensor
+    translation_key: defrost
+    category: diagnostic
+    dps:
+      - id: 115
+        type: boolean
+
   - entity: binary_sensor
   - entity: binary_sensor
     class: running
     class: running
     name: Pump Status
     name: Pump Status