blakadder пре 2 година
родитељ
комит
8dcbb37a3d
1 измењених фајлова са 8 додато и 3 уклоњено
  1. 8 3
      custom_components/tuya_local/devices/proscenic_m9_vacuum.yaml

+ 8 - 3
custom_components/tuya_local/devices/proscenic_m9_vacuum.yaml

@@ -166,9 +166,6 @@ primary_entity:
       name: language
       type: string
       optional: true
-    - id: 39
-      name: customize_mode_switch # moved here since it's not useful without the app
-      type: boolean
     - id: 132
       name: chaging_base_type
       type: string
@@ -453,6 +450,14 @@ secondary_entities:
       - id: 38
         name: button
         type: boolean
+  - entity: switch
+    name: Customize mode
+    icon: "mdi:store-cog"
+    category: config
+    dps:
+      - id: 39
+        name: switch # required so the mop and suction options work
+        type: boolean
   - entity: binary_sensor
     name: Mop installed
     category: diagnostic