I don’t know what the rest of your code is like but this is how I did it.
I had an automation trigger an input_boolean when a calendar event happens, then other automation’s can use the status of the input_boolean as a condition of whether to run or not. At a set point each day the input_boolean gets reset back to off.
Like you mention you need a calendar event of at least 1 min.