To-do list
The to-do list integration brings shopping lists and to-do lists into Home Assistant: the local one, the shopping list, and those of other services.
Reordering a list means dragging an item in the interface. That is the only way. Spook adds the action, so an automation can put the most urgent thing at the top.
Home Assistant's own to-do actions take one item at a time. Ten ingredients for the shopping list is ten actions, or a loop. Spook adds actions that take many: add them, tick them off, copy or move them to another list, and push when they are due.
Actions
Spook adds six actions for to-do lists. You find them wherever you add an action, marked with a 👻.
Add items
Adds many items to to-do lists at once, in the order given, optionally skipping what is already on the list.
A recipe needs flour, eggs, milk and butter. Half of it is on the shopping list already. One action puts the rest on, in the order you gave, and leaves out what is there.
How to use it
- Open the automation or script that should do this, and select Add action.
- Search for add items, and select To-do list: Add items 👻.
- Under Targets, pick the to-do list.
- Fill in the Items, one title per line.
- Optionally, set a Due date, a Due date and time, or a Description: it goes with every item.
- Turn on Skip existing to leave out what the list already has and is not completed.
- Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.
| Action properties | |
|---|---|
| Action | To-do list: Add items 👻 |
| Action name | todo.add_items |
| Action targets | Yes, todo entities that can add items |
| Action response | Optional, the items added |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
items | list | Yes | ["Flour", "Eggs"] |
due_date | date | No | 2026-12-24 |
due_datetime | datetime | No | 2026-12-24 18:00:00 |
description | string | No | For the pancakes |
skip_existing | boolean | No | false |
The fields work the way they do for todo.add_item: give due_date or due_datetime, not both, and only on a list that can keep it. A list that cannot keep one refuses the whole call, and nothing is added to any list.
With skip_existing, an item is left out when the list already has an item with that title that is not completed. Titles are compared without capitals and without the spaces around them, so milk is Milk. An item given twice is added once. A completed item does not count: buying milk again is the point of the shopping list.
The response has, for every list, the items added, by uid and summary: {"todo.shopping_list": {"items": [{"uid": "…", "summary": "Flour"}]}}. A list does not say which uid it gave an item, so Spook looks for the new one with that title right after adding it. A list of a service that has not caught up yet does not show it, and then the uid is null. So it is when two new items with that title show up at once, and Spook cannot tell which one it added.
Pancakes on Sunday. What is on the list already stays as it is:
action: todo.add_items
target:
entity_id: todo.shopping_list
data:
items:
- Flour
- Eggs
- Milk
- Butter
skip_existing: true
And say what was added:
actions:
- action: todo.add_items
target:
entity_id: todo.shopping_list
data:
items:
- Flour
- Eggs
- Milk
- Butter
skip_existing: true
response_variable: added
- action: notify.mobile_app_phone
data:
message: >-
On the list now:
{{ added['todo.shopping_list']['items'] | map(attribute='summary') | join(', ') }}
- The items are added one after the other. A list of a service, like Todoist or Google Tasks, gets one request per item.
- When adding one fails, the ones before it stay on the list, and the ones after it are not added.
skip_existingcompares titles only. Milk due today and milk due next week are the same milk.
Set items status
Marks many items in to-do lists as completed, or as needing action again, at once.
The packing list did its job, and next holiday it should start over. The shopping list has shopping_list.incomplete_all for that, and no other list has anything. This action works on every list that can change its items.
How to use it
- Open the automation or script that should do this, and select Add action.
- Search for set items status, and select To-do list: Set items status 👻.
- Under Targets, pick the to-do lists.
- Set Status to Completed, or to Not completed to open the items up again.
- Optionally, fill in the Items this is about, by their name. Leave it empty for every item.
- Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.
| Action properties | |
|---|---|
| Action | To-do list: Set items status 👻 |
| Action name | todo.set_items_status |
| Action targets | Yes, todo entities that can change items |
| Action response | Optional, the items changed |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
status | string | Yes | needs_action or completed |
items | list | No | Every item |
The items are found by their title or their uid, the same way todo.update_item finds an item. An item named that is not on one of the lists refuses the whole call, before any list is changed, and the error names it.
An item that already has the status is left alone: the list is not asked to change it. Only the status changes, the rest of the item stays as it is.
The response has, for every list, the items changed, by uid and summary.
The holiday starts: the packing list starts over, so everything gets packed again:
triggers:
- trigger: calendar
event: start
entity_id: calendar.holidays
actions:
- action: todo.set_items_status
target:
entity_id: todo.packing_list
data:
status: needs_action
Back from the shop, everything bought:
action: todo.set_items_status
target:
entity_id: todo.shopping_list
data:
status: completed
- Two items with the same title: the first one is the one found, the same as for
todo.update_item. Name it by its uid to pick the other one. - An item without a uid cannot be told apart from any other, so it is left alone.
Move item
Moves an item in a to-do list to the top, the bottom, or after another item.
Only you could change the order of a list, by dragging. Now an automation can too. Rain is coming tomorrow morning: the bins go to the top of the chores. The milk ran out: it moves up the shopping list, before you walk past the shop.
How to use it
- Open the automation or script that should do this, and select Add action.
- Search for move item, and select To-do list: Move item 👻.
- Under Targets, pick the to-do list.
- Fill in the Item to move, by its name.
- Either set Position to Top or Bottom, or fill in After with the item it should go after.
- Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

| Action properties | |
|---|---|
| Action | To-do list: Move item 👻 |
| Action name | todo.move_item |
| Action targets | Yes, todo entities that can be reordered |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
item | string | Yes | Take out the bins |
after | string | No, but this or position | Do the dishes |
position | string | No, but this or after | top or bottom |
The item, and the item to put it after, are found by their title or their uid, the same way todo.update_item finds an item.
Rain is coming, so the bins go first:
action: todo.move_item
target:
entity_id: todo.chores
data:
item: Take out the bins
position: top
- Only lists that can be reordered can be targeted. Some lists keep their items in an order of their own, like one sorted by due date.
- An item that is not in the list, or a place after an item that is not, is an error, the same as for
todo.update_item. So is moving an item after itself.
Copy items
Copies items from to-do lists to another to-do list, as items still to do.
A list can be a template. The weekly groceries are the same every week: keep them on a list of their own, and copy them into the shopping list on Saturday. A packing list for camping goes onto the list of this trip.
How to use it
- Open the automation or script that should do this, and select Add action.
- Search for copy items, and select To-do list: Copy items 👻.
- Under Targets, pick the to-do lists the items come from.
- Under Destination list, pick the to-do list they go to.
- Optionally, fill in the Items to copy, by their name, or pick a Status to only copy those. Leave both empty to copy every item.
- Turn on Skip existing to leave out what the other list already has and is not completed.
- Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.
| Action properties | |
|---|---|
| Action | To-do list: Copy items 👻 |
| Action name | todo.copy_items |
| Action targets | Yes, todo entities, where the items come from |
| Action response | Optional, the copies made |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
to | string | Yes | todo.shopping_list |
items | list | No | Every item |
status | list | No | Every status |
skip_existing | boolean | No | false |
A copy keeps the title, the description and the due of the item, and arrives not completed. A description or a due the other list cannot keep is left off the copy: the shopping list keeps titles only, so that is what goes onto it. A due time on a list that only keeps due dates becomes a due date: the day stays, in your Home Assistant's time zone, and only the time is left off.
to is one to-do list, and it cannot be one of the lists the items come from. It has to be able to add items. Whoever runs the action needs to be allowed to control it, the same as the lists the items come from.
items are found by their title or their uid, the same way todo.update_item finds an item. An item named that is not on one of the lists refuses the whole call, before anything is copied. status is needs_action, completed, or both, the same as for todo.get_items. Given both, an item is copied when it is named and has that status.
skip_existing works the way it does for todo.add_items, across all the lists the items come from: the same title on two of them is copied once.
The lists are worked through in the order of their entity ID, and the items in the order they are on their list.
Each item is looked at again right before its copy is made, so the copy has what the item says at that moment. One removed in the meantime, or that no longer has the status asked for, is not copied.
The response has, for every list the items come from, the copies made, by summary and by the uid they have on the other list.
Saturday morning, the weekly groceries go onto the shopping list. What is on it already stays there once:
triggers:
- trigger: time
at: "08:00:00"
weekday: sat
actions:
- action: todo.copy_items
target:
entity_id: todo.weekly_groceries
data:
to: todo.shopping_list
skip_existing: true
- The copies are added one after the other. A list of a service, like Todoist or Google Tasks, gets one request per item.
- When adding a copy fails, the copies before it stay on the other list, and the ones after it are not made.
- An item without a uid is passed over.
Move items
Moves items from to-do lists to another to-do list, as items still to do.
What is left on today's list goes onto tomorrow's, and is gone from today. Copying it and then removing it by hand is two actions, and when the copy fails the second one still removes it.
How to use it
- Open the automation or script that should do this, and select Add action.
- Search for move items, and select To-do list: Move items 👻.
- Under Targets, pick the to-do lists the items come from.
- Under Destination list, pick the to-do list they go to.
- Optionally, fill in the Items to move, by their name, or pick a Status to only move those. Leave both empty to move every item.
- Turn on Skip existing to not add an item the other list already has. It still leaves the list it came from.
- Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.
| Action properties | |
|---|---|
| Action | To-do list: Move items 👻 |
| Action name | todo.move_items |
| Action targets | Yes, todo entities that can remove items, where the items come from |
| Action response | Optional, the items moved |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
to | string | Yes | todo.tomorrow |
items | list | No | Every item |
status | list | No | Every status |
skip_existing | boolean | No | false |
This is todo.copy_items, and then the items copied are removed from the list they came from. Everything said there goes for this one too: what a copy keeps, what the other list has to be, and who may do it.
Every copy is made before anything is removed. When making one fails, nothing is removed from any list: an item can end up on both lists, never on neither.
With skip_existing, an item the other list already has, not completed, is not added again, and still leaves the list it came from: Milk on today's list and on tomorrow's ends up once, on tomorrow's. In the response it has the uid of the item already there.
Right before removing, each item is looked at once more. One that changed since it was copied, like a new description, stays where it was: the copy has what it said before. One left out by skip_existing stays when the other list no longer has it open, for example because it was ticked off there in the meantime.
The response has, for every list the items come from, the items moved, by summary and by the uid they have on the other list now, also the ones that were there already. Only what was removed from where it came from counts as moved: an item that stayed is not in the response, also when a copy of it was made.
Just before midnight, what is left of today moves to tomorrow:
triggers:
- trigger: time
at: "23:55:00"
actions:
- action: todo.move_items
target:
entity_id: todo.today
data:
to: todo.tomorrow
status: needs_action
- A list of a service, like Todoist or Google Tasks, gets one request per copy, and one for removing them all.
- When making a copy fails, the copies made before it stay on the other list. Nothing is removed, so those items are on both lists.
- An item changed while the copies were made stays on both lists: the copy has what it said before, the item itself what it says now.
- Spook looks at every item, and at the other list, right before removing. A change made elsewhere in the moment between that look and the removal is out of its sight.
Shift due
Moves when items in to-do lists are due, later or earlier, by the same amount of time.
Alex is away for a week. The chores do not go anywhere, but their due dates can: one action pushes every open chore a week out, a due date by days and a due time by the same amount of time.
How to use it
- Open the automation or script that should do this, and select Add action.
- Search for shift due, and select To-do list: Shift due 👻.
- Under Targets, pick the to-do lists.
- Set Duration to how much later, or make it negative for earlier.
- Optionally, fill in the Items this is about, by their name. Leave it empty for every item that has a due.
- Optionally, change Status: by default only what is not completed moves.
- Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.
| Action properties | |
|---|---|
| Action | To-do list: Shift due 👻 |
| Action name | todo.shift_due |
| Action targets | Yes, todo entities that can change items |
| Action response | Optional, the items changed |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
duration | time period | Yes | {"days": 7} |
items | list | No | Every item with a due |
status | list | No | needs_action |
An item due at a time moves by the duration, on the clock of your Home Assistant's time zone: a week later at 9:00 is at 9:00 again, also when daylight saving time starts or ends that week. An item due on a date, without a time, moves by whole days. A duration that is not a whole number of days refuses the whole call when such an item is among the ones that move, and the error names it: a date cannot be due two hours later.
status picks which items move, needs_action, completed, or both. Left out, a completed chore keeps the date it was due. Each item is looked at again right before its due moves: one ticked off in the meantime no longer has the status asked for, and keeps its due.
An item without a due has nothing to move, and is left alone, also when it is named. items are found by their title or their uid. An item named that is not on one of the lists refuses the whole call, before any list is changed. So does a due the list cannot change, like a due time on a list that has no feature for it.
The response has, for every list, the items whose due moved, by uid and summary.
Alex is away for a week, so every open chore is due a week later:
triggers:
- trigger: state
entity_id: input_boolean.alex_away
to: "on"
actions:
- action: todo.shift_due
target:
entity_id: todo.alex_chores
data:
duration:
days: 7
The bins go out a day earlier this week:
action: todo.shift_due
target:
entity_id: todo.chores
data:
items:
- Put the bins out
duration:
days: -1
- The items are changed one after the other. A list of a service, like Todoist or Google Tasks, gets one request per item.
- An item without a uid is passed over.
Missing something here?
An action, an entity or a repair this integration should have? Say so. Stuck, or found a bug? There is help.
Timer
Spook adds actions to create, change and delete timer helpers, to change how long a timer runs, and to set the time a running timer has left, from your automations and scripts.
Trend
The trend helper tells you whether a value in Home Assistant is going up or down. Spook adds an action that changes how it decides, and tells you when the entity it follows is gone.

