Check in a condition whether a specific calendar entry exists today

Please see my other post… (sorry for the cross refs)

Thank you !
That’s exactly what I was looking for.

Is it possible to get info from the event (when count ==1), and use it in the “then” section ?
I want to send a notification with some detail of the event.

I found a solution with {{ calendar[‘calendar.xxx’].events[0].summary }} :slight_smile:

Thanks all

I hoope you think this is related.

I am trying to put a card on my main dashboard which changes colour depending on the next trash bin day. They are alkays Tuesday and go through a cycle Grey (general waste), next Tuesday Blue (paper waste), and then Grey(General Waste) again then Red (Plastics). The whle process repeates all the time.

I have added the Google Calendar integration into HA successfully. I have added a separate calendar called Bins. I ahver added calendar entries repeating depending on bin type. For clarity I have coloured them in the calendar as well.

I now need to examine that calendar for entries but am not sure here to start. Can I try to edit thjese scripts to try to achieve my goasl?

Thanks
Andrew