Automation doesn't trigger if the trigger changed outside the time condition

You’re welcome!

Please consider marking my post above with the Solution tag. For more information about how the tag is used, refer to guideline 21 in the FAQ.