I’m beating my head against the wall yet again to create an automation that adds a to-do item to my to-do list with a due date of today. I can so far get it to work with no due date specified, but going any further, it appears I need to edit the rule in YAML. Here’s what this section looks like on my latest attempt:
service: todo.add_item
data:
item: Change toothbrush and floss heads
due_date: today_at("10:15")
target:
entity_id:
- todo.tasks
I’ve tried multiple things in place of “today_at”, including “now()”, “today()”, and even today_at(), with no time listed. Every time, I get a failure in the trace of “Error: Could not parse date for dictionary value @ data[‘due_date’]”
I’m sure there’s some simple detail missing. Am I not using the right enclosing syntax? or am I just not familiar with the magic variable for today’s date?