Skip to content

Instantly share code, notes, and snippets.

@andrew-codechimp
Last active May 15, 2024 12:11
Show Gist options
  • Save andrew-codechimp/d272e00686c277bd428ef0a3fe646ea8 to your computer and use it in GitHub Desktop.
Save andrew-codechimp/d272e00686c277bd428ef0a3fe646ea8 to your computer and use it in GitHub Desktop.
Home Assistant Add to Mealie List
service: rest_command.mealie_add_to_groceries
data: {
note: "Butter"
}
rest_command:
mealie_add_to_groceries:
url: https://YOUR_URL/api/groups/shopping/items
method: POST
headers:
Authorization: "Bearer YOUR_API_TOKEN"
accept: "application/json"
Content-Type: "application/json"
payload: '{"note": "{{ note }}","isFood": false,"shoppingListId": "UUID_OF_LIST","checked": false}'
verify_ssl: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment