newbe here... I have been converting rules from ST and have been using primarily Simple automation, Motion. Lighting and one or two Rule machine and Webcore. I have not had much luck getting my automations to execute consistently. One is as simple as turning on a light at a specific time and turning it off, another is a motion rule simply turning on a light and turning it off 4 minutes later. This one turns on but will not turn off on its own.
You have the light/switch being controlled also as the switch to disable turning off. Motion turns it on, then, being on, it is disabled from turning off.
I thought that the rule would detect if the light was manually turned on and would stop the automation from turning it off... but if the automation turned it on automation would also turn it off.