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

fix(maxcio_aromadiffuser): device only supports color, so rename color_mode

Issue #3548
Jason Rumney 7 месяцев назад
Родитель
Сommit
d4dff1e8a5
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      custom_components/tuya_local/devices/maxcio_aromadiffuser.yaml

+ 3 - 2
custom_components/tuya_local/devices/maxcio_aromadiffuser.yaml

@@ -54,12 +54,13 @@ entities:
               max: 255
               max: 255
       - id: 109
       - id: 109
         type: string
         type: string
-        name: color_mode
+        name: effect
         mapping:
         mapping:
           - dps_val: white
           - dps_val: white
             value: white
             value: white
+            hidden: true
           - dps_val: colour
           - dps_val: colour
-            value: hs
+            value: "off"
           - dps_val: scene
           - dps_val: scene
             value: Scene
             value: Scene
           - dps_val: scene1
           - dps_val: scene1