#can not parse Due date from event

1 messages · Page 1 of 1 (latest)

pearl egret
#

getting this in the trace:

this has been working before, and I havent really changed anything. What coulkd be wring with this format? Ive just created a test event, and clicked a time in the UI, so cant really have made a mistake there. I oticed the automation getting triggered, but it breaks on this appararently

#

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}}```
pearl egret
earnest estuary
#

By any change trying to do a manual run of the automation?

If not, please post the complete automation.

earnest estuary
#

Or is the calendar returning a datetime? Then you should be using due_datetime

analog vine
#

You need to use due_datetime

#

Oh so what @earnest estuary said 🙂

pearl egret
#

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.