Sfoglia il codice sorgente

added dp 101 as a button (as tuya uses it)

Victor Maznev 2 anni fa
parent
commit
98f580c94a

+ 10 - 0
custom_components/tuya_local/devices/moes_touch_curtain_switch.yaml

@@ -36,3 +36,13 @@ secondary_entities:
         range:
         range:
           min: 10
           min: 10
           max: 120
           max: 120
+  - entity: button
+    name: Stop button
+    category: config
+    icon: "mdi:stop"
+    optional: true
+    dps:
+      - id: 101
+        type: boolean
+        name: button
+        persist: false