alias: Afvalwijzer
description: ""
triggers:
- event: start
offset: "-7:0:0"
entity_id: calendar.afvalwijzer_almere
trigger: calendar
conditions: []
actions:
- data:
message: >-
Event {{ trigger.calendar_event.summary }} @ {{
trigger.calendar_event.start }}
action: notify.mobile_app_oneplus15
- data:
message: >-
Event {{ trigger.calendar_event.summary }} @ {{
trigger.calendar_event.start }}
action: notify.mobile_app_OnePlusNord
mode: single
In this case there is an item in the calendar for tomorrow.
This automation is for the hacs integration: Waste Collection Schedule. It worked for years up until last week, and now it throws this error:
Error: Error rendering data template: UndefinedError: ‘dict object’ has no attribute ‘calendar_event’
I have made a new simple automation, which notify’s the state of the upcoming sensor. This works, but it’s not as nice.
Does anybody know what’s wrong in this automation? I did not make changes to the automation for years, the calendar isn’t changed also.
Thnx!
Raymond