I have built an automation to auto update a todo list for chores. For the date field, is there a way to pick a date 7 days in the future?
alias: Chore updater
description: ""
trigger:
- platform: time
at: "00:00:00"
condition:
- condition: time
weekday:
- sun
action:
- metadata: {}
data:
status:
- completed
response_variable: completed
target:
entity_id: todo.chores
action: todo.get_items
- repeat:
count: "{{ completed['todo.chores']['items'] | count }}"
sequence:
- metadata: {}
data:
status: needs_action
item: "{{completed['todo.chores']['items'][repeat.index-1]['summary']}}"
date: *#needs something similar to now() + 7days*
target:
entity_id: todo.chores
action: todo.update_item
mode: single