Restart Safe - đź”” To-do List Chore Notifications!

Hello Everyone! Excited to share my first blueprint, I hope you all find it as useful as I do.
You can also visit the Github Repository for this blueprint.

:bell: To-do List Chore Notifications

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

:notebook: Description

Create Actionable Notifications from a Home Assistant To-do List!

This blueprint does not use Wait triggers, so that means that all notification actions will still work even after Home Assistant is restarted!

Notifications are sent every day at the time you specify in Notification Time.
They are sent to every device you specify in Devices to Notify.
It will generate 1 notification for each passed due item, with the ability to mark the item as completed right from the notification!

When a Task is Marked Complete (from the notification):

  • The notifications will be cleared from all devices it was sent to!
    This way, if a task is marked as done no one has a notification telling them to complete it.
  • Through the When chore is completed. actions you can specify any actions you would like to happen after a task is marked as done.

View Some Example Use Cases Here or further down in this post.

:green_book: F.A.Q

1. What to-do / task tracking integrations work with this Blueprint?

Any integration that makes use of Home Assistants To-do entities should work with this blueprint.
Integrations I have tested myself are:

  • Home Assistants built in Local To-do integration.
  • Google Tasks
    • Google Tasks has the advantage of being able to create recurring tasks that will automatically “uncheck” themselves and update their due date after they are marked done.

2. What notify services work with this Blueprint?

This blueprint was designed to work with the notification services provided by the Home Assistant Companion App.
It works for both Android and IOS.

3. IOS Notifications aren’t showing the “Mark Done!” notification action, whats wrong?

Apple devices running IOS do not show the notification actions automatically. On IOS you must tap and hold on the notification then the “Mark Done!” action will be displayed.
Simply tapping on the notification, or swipping it away will not mark the task as done.
This is a limitation of IOS, and there is no way to change this functionality.

:bulb:Tip
If this is an issue I recommend putting a note in the task name or description, on each to-do list item, to remind you to tap and hold on the notification in order to mark it as done.

:page_with_curl: When Chore is Completed - Custom Actions After Task is Marked Done

:warning: Important
These actions will only run if the task was marked done through the notification!
If the task is marked done directly through the Home Assistant To-do list screen, or from the integration screen these actions will not run.

Example Use Cases:

:bulb:Tip
A variable named todo_item is created when a task/chore is marked complete, this can be used within your custom actions along with Home Assistants Chose
action and Template Condition to specify different actions for each task/chore.

1. Use a Counter Helper to Keep Track of an Item in Stock

If you have a task/chore that requires having something in stock, such as Air filters or Chlorine Tablets, you can create a Home Assistant Counter Helper
to keep track of how much you have in stock.
Then when your “Replace Air Conditioner Tablets” task/chore is marked complete on your to-do list, you can call the counter.decrement service
for that Counter Helper to automatically update how much is left in stock.

Yaml put into the “When chore is completed” blueprint input.

choose:
  - conditions:
      - condition: template
        value_template: "{{ todo_item == 'Replace Air Conditioner Tablets' }}"
        alias: "Make sure name is: Replace Air Conditioner Tablets"
    sequence:
      - service: counter.decrement
        target:
          entity_id: counter.ac_tablets_in_stock
        data: {}

The important part is the template condition’s value_template where we compare the todo_item variable, which is the task/chore that was just marked done, with the name of the chore we want to perform that specific action for:

value_template: "{{ todo_item == 'Replace Air Conditioner Tablets' }}"
2 Likes

Bridwing, thanks for writing this up… This is excellent if I could get the notifications to show up. I have an iphone and ipad with the companion app I’m testing on and I’m not blocking push notifications. Unfortunately it isn’t working. I know my push notifications work as I receive me frigate ones.

Hey nonamer,

Sorry it took me so long to get back to you.
What is the Name of your device?

I made the “Notify Devices” dropdown a select list of “devices” of type mobile_app.
The action called to send the notification is derived from the Device name and the only way to do that is to “slugify” the device name.

So for example if your device is called:

“Nonamers Phone” the called is expected to be “notify.mobile_app_nonamers_phone”

I’m curious if there is something in the device name that causes it not not properly determine the action to call.