瀏覽代碼

feat(tafdl6_petfeeder): add missing motion event

Issue #5843
Jason Rumney 3 月之前
父節點
當前提交
2553f8f79f
共有 1 個文件被更改,包括 15 次插入 和 0 次删除
  1. 15 0
      custom_components/tuya_local/devices/tafdl6_petfeeder.yaml

+ 15 - 0
custom_components/tuya_local/devices/tafdl6_petfeeder.yaml

@@ -88,6 +88,21 @@ entities:
             value: Motion
           - dps_val: false
             value: Continuous
+  - entity: event
+    class: motion
+    dps:
+      - id: 115
+        type: base64
+        name: event
+        optional: true
+        mapping:
+          - dps_val: null
+            value: null
+          - value: detected
+      - id: 115
+        type: base64
+        optional: true
+        name: snapshot
   - entity: switch
     translation_key: motion_detection
     category: config