Преглед изворни кода

correct optional for Stop button

Victor Maznev пре 2 година
родитељ
комит
a24fb27c43
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      custom_components/tuya_local/devices/moes_touch_curtain_switch.yaml

+ 1 - 1
custom_components/tuya_local/devices/moes_touch_curtain_switch.yaml

@@ -40,9 +40,9 @@ secondary_entities:
     name: Stop button
     category: config
     icon: "mdi:stop"
-    optional: true
     dps:
       - id: 101
         type: boolean
         name: button
+        optional: true
         persist: false