Synchronize 2 Home Assistant todo list
This blueprint for Home Assistant synchronizes 2 to-do lists.
Originally designed to sync Google Keep lists with the Bring shopping list, its versatility allows syncing any list.
Currently limited to syncing only active items, those marked as completed are removed from the lists
Hello @HectorziN
I have installed your blueprint but once the lists are configured I get the error The automation “Synchronize Alexa with Bring” (automation.synchronize_bring_with_alexa) has an action that calls an unknown service: bring.force_bring_sync.
Could you please help me?
Thanks!
This blueprimt is intended to work with the custom integration HA-Bring-ToDo-List, not with the official Bring! integration introduced with HA 2024.2.
I think @HectorziN coincidentally published his blueprint just three days before the official integration went live.
Maybe he’s reading these replies and adapts his blueprint to the official integration in the near future.
As the author of HA-Bring-ToDo-List, the call to force_bring_sync
may not be needed, as it syncs every 30 seconds anyway.
That may assist the original blueprint creator.
Ok, the problem is, @HectorziN published a blueprint with hard coded todo list entities instead of retrieving them from the blueprint inputs:
- variables:
google_list: todo.google_keep_la_compra
bring_list: todo.bring_todo_la_compra
temp_list: todo.temp
This obviously won’t work for anybody, but him.
TBH, I never published a blueprint and won’t start with this at 3am in the morning (*). Thus, please fix this blueprint manually, if you want to use it. You just have to replace the variables section with this:
- variables:
google_list: !input google_list
bring_list: !input bring_list
temp_list: !input temp_list
And as @sh00t2kill already mentioned, you have to remove the first service call right below the variables section, as the bring.force_bring_sync
service doesn’t exist in the official Bring! integration.
One more thing: While I assume, the sync should work fine with any combination of two todo lists, the blueprint assumes the Google Keep list as the “first list” and the Bring! list as the “second list”. Thus, if you want to sync between Google Keep and Bring!, you should choose the Google Keep list first, when configuring the blueprint, just for clarity.
(*) Yes, I should go to bed now. But with this integration running, FINALLY (!) we can yell at Google again for adding items to the shopping list. Especially my wife will be excited, because she really missed these epic discussions with our smart speaker.
Finally it works again! I have implemented the Blueprint as you described. Thank you
After a month of testing, I realized that it doesn’t work so well after all. Some products that I have checked off keep reappearing on the list. I still have to delete them from the sync list.
Same thing here. The problem seems to be Google Now or Bring changing the capitalization of words unasked. Thus, the blueprint isn’t able able to match the items anymore between the two lists and fails with an error.
Hello,
this is what i´m looking for many month. because i didn´t find a way to sync Bring with my Google Home.
but it didn´t really works.
when i create the automation, everything gets sync. but after a while it stop syncing.
in the Log i found this.
Logger: homeassistant.components.automation.2_einkaufslisten_sync
Quelle: components/automation/init.py:747
Integration: Automatisierung (Dokumentation, Probleme)
Erstmals aufgetreten: 10:50:10 (19 Vorkommnisse)
Zuletzt protokolliert: 11:12:39
- Error while executing automation automation.2_einkaufslisten_sync: Unable to find to-do list item: Kinder Käse
- Error while executing automation automation.2_einkaufslisten_sync: Service call requested response data but did not match any entities
- Error while executing automation automation.2_einkaufslisten_sync: Unable to find to-do list item: Von sync
and this
Logger: homeassistant.components.automation.2_einkaufslisten_sync
Quelle: helpers/script.py:1933
Integration: Automatisierung (Dokumentation, Probleme)
Erstmals aufgetreten: 10:50:10 (39 Vorkommnisse)
Zuletzt protokolliert: 11:12:39
2 Einkaufslisten sync: Error executing script. Error for repeat at pos 7: Unable to find to-do list item: Kinder Käse
2 Einkaufslisten sync: Error executing script. Error for call_service at pos 2: Service call requested response data but did not match any entities
2 Einkaufslisten sync: Already running
2 Einkaufslisten sync: Repeat at step 7: Error executing script. Error for call_service at pos 2: Unable to find to-do list item: Von sync
2 Einkaufslisten sync: Error executing script. Error for repeat at pos 7: Unable to find to-do list item: Von sync
can anybody help me to fix this issu.
Thanks and sunny greetings from Bavaria
Diver
This works so well! Thank you so much!
I don’t have enough coding knowledge to make this, but was wondering how possible it would be to also sync the due dates of items instead of just the names. Is this a trivial thing or would it require a rewrite?
Thanks again for this blueprint, it’s amazing!
I’ve had the same issue with similar error logs. I think this issue might be caused by checked off items only appearing in one list.
When I set up the synchronisation I made use of existing lists and both the Bring list and the Keep list already had checked of items on them.
After this issue kept appearing I took a look at the script and it seems to be comparing deleted items, so I cleared the checked off items on all three lists and since then I haven’t had this issue again (fingers crossed)
I’m trying to use this to get Google Assistant writing to my AnyList grocery list.
I have Google Keep Sync and AnyList synced todo lists, and I setup this blueprint with a new temporary sync list. The problem is that Google Assistant typically adds items to the list lowercase (e.g. “peanuts”.) When this script runs, the item is added to the sync list as “Peanuts”. It syncs to AnyList as “Peanuts”. Making changes don’t sync back to Google Keep because it’s not matching case. If I manually delete from the Google Keep list, “Peanuts” is then added.
Any ideas why the items are being capitalized when moved to the sync list?
i got the same issue, is there a solution?
Sorry, dumb @$$ here.
Why are 3 entries need, List 1, 2 and Temp, for syncing just 2 lists?
I’m syncing my Mealie ingredient list with my Our Groceries shopping list as I use the OG widget on my phone a lot.
I do have it working. I created a 3rd to-do item as the temp so it stopped throwing errors, but I’d like to understand better.
Thanks
I think a third list is needed so you can compare if items got deleted from one list. It serves as current state to which you compare the changes of either list, so you know which entry is either new or deleted.
@Vergil365 @jmaguire I gave up on the blueprint and created my own automation to sync my lists. Always had items that didn’t get synced or showed up multiple times. For my bring and Google keep sync it works since a month now without any issues, I can share it if you want.
Edit: For those interested, here is my todo list sync blueprint.
I do capitalize as well, but after the capitalized synced entry gets added, it doesn’t sync it back to the originial list, where it isn’t capitalized. If you need the entries to stay lower case, I could change it for you, so they stay lower case.