瀏覽代碼

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 6 月之前
父節點
當前提交
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