Closed Shredder5262 closed 3 months ago
@Shredder5262 can you please share the error message you're getting in HA, and what version of HA you're running? (I didn't see the actual error message here or in Discord) I'm running 2024.4.3, and using the syntax you're saying gives errors, but I haven't seen any in my logs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
First Check
What is the issue you are experiencing?
in the documentation page https://docs.mealie.io/documentation/community-guide/home-assistant/ for the example rest api calls listed in home assistant, the existing lines... value_template: "{{ value_json[0].recipe.name }}" value_template: "{{ value_json[0].recipe.id }}"
work, but produce an error in the home assistant logs. On my own setup, I changed the lines to
value_template: "{{ value_json[0]['recipe']['name']}}" value_template: "{{ value_json[0]['recipe']['id']}}"
and so far i get the same result, but no error message in the logs.
Steps to Reproduce
Please provide relevant logs
not applicable.
Mealie Version
not applicable.
Deployment
Docker (Windows)
Additional Deployment Details
not applicable.