Hey, I am working on lights turning on in my house when my mode changes to Home. But since in SmartThings “Good Morning” and “Hello” does the same thing (changing my mode to Home) I need to specify what it went from. So if I am waking up my mode is changing away from Away and when I am waking up my mode changes away from Night.
I tried the Piston below but it works 1 out of 10 times. Anyone have any idea why?
I would think some sort of race condition is going on for the 2 triggers. It may be doing the second condition before the first.
Perhaps try
IF
Location mode changes from Night
THEN
IF
Location Mode Changes to Home in the last 10 seconds
DO
etc
etc