Hey everyone,
I’m trying to create a piston that will change the location mode to ‘Away’ upon the departure of two people. If they depart and the time is between sunset and sunrise, I also want one of the lights to turn on @ 50%.
I have the away portion working, every time without issue. However, the lighting automation seems to always trigger true once they leave, no matter what the time is. So if they leave the house at 10am, the lights turn on. I’m not quite sure what I did wrong regarding that if statement. I have attached a picture of the piston below. Any help is appreciated!