Last active
May 15, 2024 12:11
-
-
Save andrew-codechimp/d272e00686c277bd428ef0a3fe646ea8 to your computer and use it in GitHub Desktop.
Home Assistant Add to Mealie List
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: rest_command.mealie_add_to_groceries | |
data: { | |
note: "Butter" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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