I’m using the example that was posted here Turn on lights on and keep them on when motion detection and it has been working great for me.
You could also look at using the new Timer component Timer Docs which may be a little easier.
I’m using the example that was posted here Turn on lights on and keep them on when motion detection and it has been working great for me.
You could also look at using the new Timer component Timer Docs which may be a little easier.