Conditional "Advanced medication reminder"

Hi everyone!

I posted the question here (Advanced medication reminder - #221 by suender84) - but no answer until now. Any idea anyone?

Using the blueprint “Advanced medication reminder” and trying to get 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 and 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 Zeckenmittel!
    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.

I did not get this working. Nobody can help me?

Have you considered this instead?

:calendar: Calendar Notifications & Actions - Blueprints Exchange - Home Assistant Community

I think this might be what you’re looking for? Or at least you can use it to help update what you have here to make what you want work?

I would say most likely better to just use the trigger like a calendar event for the time of start? Fire the other actions? And if it’s a shared calendar, then you can add additional keywords to look for to filter things out?

Also, try consider taking control of it, and maybe adjusting your trigger that way rather than using yaml? I just attempted that so we’ll see, but changed mine to weekly.