Invalid config for [sensor.rest]: invalid template (TemplateSyntaxError: expected name or number) for dictionary value @ data[‘value_template’]. Got ‘{{ value_json.incidenceFullyVaccinated.values.[(@.length-1)] }}’. (See /config/configuration.yaml, line 196). Please check the docs at RESTful - Home Assistant
Ah, thanks. If I use json_attributes_path: “$.incidenceFullyVaccinated.values.[(@.length-1)]”. I can successfully restart the rest entities. How can I then set the correct json attribute? I has to be the last one, because they json is extended every day by one.