فهرست منبع

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

Victor Maznev 2 سال پیش
والد
کامیت
98f580c94a
1فایلهای تغییر یافته به همراه10 افزوده شده و 0 حذف شده
  1. 10 0
      custom_components/tuya_local/devices/moes_touch_curtain_switch.yaml

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

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