I’m a newbie to HA so please excuse my ignorance. I’m trying to create an automation that will be switched on by a motion group and switched off if no motion is detected after 10 mins. If I hit “run automation” in the automation section it works fine, but won’t trigger by itself. Here is the code and also how I set up the group.