Просмотр исходного кода

Update kilo_plus_air_purifier.yaml

Updated DPID for Reset Filter Life
Added "" around Off in select dropdowns
Removed icon for Light select dropdown
broyuken 1 год назад
Родитель
Сommit
11e6a43a54
1 измененных файлов с 3 добавлено и 4 удалено
  1. 3 4
      custom_components/tuya_local/devices/kilo_plus_air_purifier.yaml

+ 3 - 4
custom_components/tuya_local/devices/kilo_plus_air_purifier.yaml

@@ -30,7 +30,7 @@ secondary_entities:
     category: config
     category: config
     icon: "mdi:toggle-switch-variant-off"
     icon: "mdi:toggle-switch-variant-off"
     dps:
     dps:
-      - id: 8
+      - id: 11
         name: switch
         name: switch
         type: boolean
         type: boolean
   - entity: select
   - entity: select
@@ -43,7 +43,7 @@ secondary_entities:
         name: option
         name: option
         mapping:
         mapping:
           - dps_val: cancle
           - dps_val: cancle
-            value: Off
+            value: "Off"
           - dps_val: "1h"
           - dps_val: "1h"
             value: "1 Hour"
             value: "1 Hour"
           - dps_val: "2h"
           - dps_val: "2h"
@@ -62,14 +62,13 @@ secondary_entities:
         name: option
         name: option
         mapping:
         mapping:
           - dps_val: cancle
           - dps_val: cancle
-            value: Off
+            value: "Off"
           - dps_val: "1"
           - dps_val: "1"
             value: "Gradient"
             value: "Gradient"
           - dps_val: "2"
           - dps_val: "2"
             value: "On"
             value: "On"
   - entity: sensor
   - entity: sensor
     name: Countdown Remaining
     name: Countdown Remaining
-    icon: "mdi:timer"
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 20
       - id: 20