Automation conflict avoidance
If the automation of pressing the smart button to turn on bulbs is already triggered and later the automation of the motion sensor to turn on the same lights for a certain period of time is triggered, then when the second automation time elapses the lights turn off.
This is problematic: imagine the real scenario where you have a motion sensor at the veranda to turn on bulbs when someone is there, i.e. for 5 minutes. Also, you have a button to turn on lights of that veranda.
Right now, if you turn on the lights via the button and then step out, the motion sensor will catch you and turn Off the lights after 5 minutes!
In automations, a feature should exist that if another automation is already running (i.e. lights turned on via button) then other automations do Not start (i.e. the sensor doesn't do anything).