How do I setup in configuration.yaml to make the automation of motion sensor stop in a specific time of the day

Add a condition to your automation.

And please format your code properly.

Point 11

1 Like