Create a condition in an automation, which is based on an Calendar-event

I have now a working automation which creates on an event a Google-calendar appointment on a specific date.
For example when a light is turned on, it creates a google calendar appointment in 3 days at 7:00 which states “turn light off”.

But now my issue is that if the light is turned off and later that same day on again, it will create a second appointment in Google-calendar parallel to the first one. I have even seen in Google-Calendar now up to 10 same appointments in parallel.
I thought maybe I can create a condition in HA that first checks if there is already a Google-calendar appointment on that specific day, if not only then it should create a Google-calendar appointment. But somehow I cannot find the way to do this (e.g. when pressing “+add condition” it does not show any options for Calendar).

Any tips?

According to
Calendar - Home Assistant

There should be a calendar.get_events action.