소스 검색

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 2 달 전
부모
커밋
d00f89e8bc
1개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  1. 8 8
      custom_components/tuya_local/devices/arcelik_ahphmm_comboheatpump.yaml

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

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