Running ccalendar event as condition

Hi,

I’d like to use an running event as a condition is some automation.

So, in calendar, I have an Event “Kids at Home” running when kids are at home. Based on this event, rules for light, heating, tv, … are adapted.

How can I know in a rule that the event is “running” and use it as a condition.

Thanks

Fred.