Advanced medication reminder

Hi there!

I try getting my automation running only if there is an entry in the calender for this day. We have to give our dog a medication once a month an I have a calender for that.

Here is my attempt. But the condition is not working. It sends the notification daily.

alias: Zeckenmittel Erinnerung
description: ""
conditions:
  - condition: template
    value_template: "{{ 'Zeckenmittel Hund' in state_attr('calendar.medikamente', 'message') }}"
use_blueprint:
  path: Aohzan/medication_reminder_android.yaml
  input:
    notify_device: eb176052f8a53a59674b2891cf25e6ea
    reminder_time: "07:00:00"
    input_boolean: input_boolean.zeckenmittel
    notification_title: Simparica
    notification_message: Zeit für Zeckenmittwl!
    notification_action_taken: Gegeben
    notification_action_later: Später geben!
    notification_action_skip: Ausfallen lassen!
    logbook_message_remind: Erinnerung gesendet
    logbook_message_taken: Zeckenmittel gegeben
    logbook_message_later: Verschoben
    logbook_message_skip: Keine Gabe

If you have a better idea, I am open to it.