Skip to content

Instantly share code, notes, and snippets.

@jasonmadigan
Created January 1, 2025 15:55
Show Gist options
  • Save jasonmadigan/55bd08d3c2873878fd1acf9265e0ae1f to your computer and use it in GitHub Desktop.
Save jasonmadigan/55bd08d3c2873878fd1acf9265e0ae1f to your computer and use it in GitHub Desktop.
Generic Home Assistant Assist - "Add" todo list items
conversation:
intents: {}
intent_script:
ShoppingListAddItem:
action:
action: todo.add_item
target:
entity_id: todo.shopping_list
data:
item: "{{ shop_item }}"
speech:
text: "{{ shop_item }} added to your shopping list."
# custom_sentences/en/shopping_list.yaml
language: "en"
intents:
ShoppingListAddItem:
data:
- sentences:
- "Add {shop_item}"
lists:
shop_item:
wildcard: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment