فهرست منبع

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 2 ماه پیش
والد
کامیت
01532fb07f
1فایلهای تغییر یافته به همراه11 افزوده شده و 1 حذف شده
  1. 11 1
      custom_components/tuya_local/devices/kaisai_proheat_airconditioner.yaml

+ 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