Răsfoiți Sursa

Update door_peephole_camera.yaml

In case of my camera now has a motion sensor, add it's entity to set.
Jon 1 an în urmă
părinte
comite
1aa9ef8da7

+ 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
+