There’s a quick workaround for it.
Make a Group in that IF statement, and put “@Occupancy remains unchanged OR Time Occurs Daily at 11:30pm”. Leave the other 3 the way they are. That way it’ll trigger at 11:30 at night and any time occupancy changes between the hours of 11:30 and 7am.
It’s working correctly, just not the way it feels like it would. The way a piston verifies something hasn’t changed is like this:
@Occupancy changes
Your piston sets a timer for 1 minute (or 10 minutes in the final implementation) in the future
Your piston wakes up and sees if @Occupancy has changed in the time above
If not, it evaluates true. If it has, it evaluates false.
What we’re missing is that first change to kick it into action. That’s what the time happens daily at 11:30pm will do (or you can set it to something close to now to test it).
Make sense?