I am trying to use Todoist to create a shopping list that I can use with both Home Assistant and Google Home. I have got the google home integration sorted, and have Todoist added as a calendar.
I have then created a template sensor to pull out the tasks within my ‘Shopping’ project ie. my shopping list. The output string looks like: [‘item 1’,‘item 2’,‘item 3’] etc
I am looking for a way to break up this string in to individual items that I could display as a list. Any ideas?
Plan is to also add a script to update my todoist list with new items as shown in the picture.
Then for the body portion of the webhook {“name”:"{{TaskContent}}"}
You can use the same for “task complete” just switch out the “add_item” to “complete_item” in the url request form, and leave the body exactly the same.
That way the shopping list format will remain the same. I’m still working on a script/trigger/automation to go backwards though. (From HA to Todoist)
Has any progress been made on this? I’m looking to send items from HA to todoist. I can do it via service calls but i’d prefer to use the current shopping list integration