I’m trying to set up location based on presence and time. I’m a bit newer at this and have seen some code that does this with many modes, but I believe it over complicates things.
As the code shows, it should identify if any of us are home, then if it’s between 6 AM and 830PM, it should set it to home, else, night.
if both of us are away, it should be set to away.
At this moment, we are both gone, WebCore sees that we are both not present, but the location is home (using default home, away, night).
My gut tells me this is being caused due to no event actually causing the trigger to go off. Would presence changing be enough to start the piston?
Thanks