added motion sensor example

This commit is contained in:
John Lancaster
2024-08-20 22:51:59 -05:00
parent 4678d9197a
commit cc195a5fde
2 changed files with 60 additions and 0 deletions

6
examples/example.yaml Normal file
View File

@@ -0,0 +1,6 @@
example_motion:
module: motion
class: MotionSensor
motion_sensor: binary_sensor.bathroom_motion_occupancy
light: light.bathroom
off_duration: 10