I’ve been looking forward to playing with the new calendar.list_event
service and response. I have called the service and obtained the following response:
events:
- start: "2023-07-10"
end: "2023-07-11"
summary: Holiday
- start: "2023-07-11"
end: "2023-07-12"
summary: Office
- start: "2023-07-12"
end: "2023-07-13"
summary: Office
If I want to play with this response in the developer tools (so I can develop a template to process the returned information in some way), what is the best approach?
There is no {% set response = call_service('calendar.list_event', params) %}
function. Is there a way to get the above data into a variable with {% set response = ??? %}
where ??? is some literal expression for the above data.
Please help.