#can not parse Due date from event
1 messages · Page 1 of 1 (latest)
the yaml for that is
action: todo.add_item
target:
entity_id: todo.huishouden
data:
item: |
{{description}}
description: |
Opgelet: {{description}} aan de straat zetten.
due_date: |
{{trigger.calendar_event.start}}```
and those vars are set in the first action:
actions:
- variables:
description: >
{{trigger.calendar_event.description}}
- action: input_text.set_value
target:
entity_id: input_text.todo_afvalwijzer
data:
value: >
{{description}}```
according to https://www.home-assistant.io/docs/automation/templating/#calendar that {{trigger.calendar_event.start}} should be the right format?
By any change trying to do a manual run of the automation?
If not, please post the complete automation.
Or is the calendar returning a datetime? Then you should be using due_datetime
It expects a date, not a datetime
https://www.home-assistant.io/integrations/todo/#action-add-item
You need to use due_datetime
Oh so what @earnest estuary said 🙂
right, that might be it..... the integration changed from date to datetime... I've reset that option now, and changed the format to regular date again. hope this gets the calendar fixed, which in itself is the base for the todo.