Had the same problem, wanted to use the shopping list more again and therefore had to fix this. This thread was very helpful:
The changes are basically:
trigger:
- platform: event
event_type: call_service
event_data:
domain: todo
service: add_item
context:
user_id:
- XXX
And for when an item is removed, which I also use:
trigger:
- platform: event
event_type: call_service
event_data:
domain: todo
service: update_item
context:
user_id:
- XXX