I feel like I'm doing something very dumb here, but I've got an automaton that will re-schedule tasks in the future when they're completed (if certain criteria are set). I'm trying to expand this a bit by adding a second action to this that also plonks it on the calendar, since th built-in todo list card leaves much to be desired.
So I have a for_each: "{{ mylist['todo.recurring']['items'] }}"
And in the calendar.create_evenmt action I do
start_date: "{{ repeat.item.due_date.strftime('%Y-%m-%d') }}"
but I get Error: Error rendering data template: UndefinedError: 'dict object' has no attribute 'due_date'
Am I missing something obvious? The previous action sets due_date in todo.update_item so I'm sure the value is set.