Alexa Shopping list one way sync to HA

@thiagobruch many thanks for your support with the addon and it works flawlessly

The only issue I have is I’ve created an automation which uses the below script to get all the items on the shopping list and then deletes them

but is there a way to re-scrape the list without restarting the addon?

alias: Clear List
sequence:

  • response_variable: all_items
    target:
    entity_id: todo.shopping_list
    action: todo.get_items
    data:
    status: needs_action
  • repeat:
    for_each: “{{ all_items[‘todo.shopping_list’][‘items’] }}”
    sequence:
    - data:
    item: “{{ repeat.item.summary }}”
    target:
    entity_id: todo.shopping_list
    action: todo.remove_item