Przeglądaj źródła

fix(kaisai_proheat_airconditioner): use "ai_eco" as backup for eco.

Issue #5936, seems to affect the original #3695 as well, as the log provided
was consistent with the behaviour described.
Jason Rumney 1 tydzień temu
rodzic
commit
01532fb07f

+ 11 - 1
custom_components/tuya_local/devices/kaisai_proheat_airconditioner.yaml

@@ -138,8 +138,18 @@ entities:
           - dps_val: true
             value: eco
           - dps_val: null
+            value_redirect: ai_eco
+      - id: 111
+        name: ai_eco
+        type: boolean
+        optional: true
+        hidden: true
+        mapping:
+          - dps_val: false
             value: none
-            hidden: true
+          - dps_val: true
+            value: eco
+
   - entity: sensor
     name: Outdoor temperature
     class: temperature