Integrations

To-do list

Spook adds actions for to-do lists that Home Assistant does not have. Add, tick off, copy, move and reschedule many items at once, and move an item to the top, the bottom, or after another item.

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

  1. Open the automation or script that should do this, and select Add action.
  2. Search for add items, and select To-do list: Add items 👻.
  3. Under Targets, pick the to-do list.
  4. Fill in the Items, one title per line.
  5. Optionally, set a Due date, a Due date and time, or a Description: it goes with every item.
  6. Turn on Skip existing to leave out what the list already has and is not completed.
  7. Select Save.

Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

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

  1. Open the automation or script that should do this, and select Add action.
  2. Search for set items status, and select To-do list: Set items status 👻.
  3. Under Targets, pick the to-do lists.
  4. Set Status to Completed, or to Not completed to open the items up again.
  5. Optionally, fill in the Items this is about, by their name. Leave it empty for every item.
  6. Select Save.

Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

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

  1. Open the automation or script that should do this, and select Add action.
  2. Search for move item, and select To-do list: Move item 👻.
  3. Under Targets, pick the to-do list.
  4. Fill in the Item to move, by its name.
  5. Either set Position to Top or Bottom, or fill in After with the item it should go after.
  6. Select Save.

Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

The Actions tool with Move item 👻 picked and filled in with an example.
What Try this action opens, filled in with an example.

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

  1. Open the automation or script that should do this, and select Add action.
  2. Search for copy items, and select To-do list: Copy items 👻.
  3. Under Targets, pick the to-do lists the items come from.
  4. Under Destination list, pick the to-do list they go to.
  5. 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.
  6. Turn on Skip existing to leave out what the other list already has and is not completed.
  7. Select Save.

Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

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

  1. Open the automation or script that should do this, and select Add action.
  2. Search for move items, and select To-do list: Move items 👻.
  3. Under Targets, pick the to-do lists the items come from.
  4. Under Destination list, pick the to-do list they go to.
  5. 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.
  6. Turn on Skip existing to not add an item the other list already has. It still leaves the list it came from.
  7. Select Save.

Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

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

  1. Open the automation or script that should do this, and select Add action.
  2. Search for shift due, and select To-do list: Shift due 👻.
  3. Under Targets, pick the to-do lists.
  4. Set Duration to how much later, or make it negative for earlier.
  5. Optionally, fill in the Items this is about, by their name. Leave it empty for every item that has a due.
  6. Optionally, change Status: by default only what is not completed moves.
  7. Select Save.

Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

Missing something here?

An action, an entity or a repair this integration should have? Say so. Stuck, or found a bug? There is help.