I cannot get something seemingly simple to work.
I have a Meross plug (triggered via IFTTT) that turns on Christmas tree lights and an audio track that plays when motion is detected on a sensor - I only want the track to play every 30 minutes if motion is detected and also for the plug to turn off after 30 minutes if no motion.
Here is the rule;
The problem is that the track plays every time motion is detected, but the light turns on and then off perfectly at 30 minutes.
Any idea how to fix this? I have tried time out, duration plus condition instead of expression and ever a simple wait with no luck.
Any ideas please?