Просмотр исходного кода

feat(tafdl6_petfeeder): add missing motion event

Issue #5843
Jason Rumney 2 недель назад
Родитель
Сommit
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