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

Update door_peephole_camera.yaml

In case of my camera now has a motion sensor, add it's entity to set.
Jon 1 год назад
Родитель
Сommit
1aa9ef8da7
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      custom_components/tuya_local/devices/door_peephole_camera.yaml

+ 12 - 0
custom_components/tuya_local/devices/door_peephole_camera.yaml

@@ -136,3 +136,15 @@ secondary_entities:
             value: Event
           - dps_val: "2"
             value: Continuous
+  - entity: binary_sensor
+    class: motion
+    category: diagnostic
+    dps:
+      - id: 115
+        type: bitfield
+        name: sensor
+        persist: true
+        mapping:
+          - dps_val: Any
+            value: true
+