RESTful sensor with dynamic link in configuration.yaml

Hi. I am using RESTful sensor and config looks like that

So when it is a static link like

it is working fine and return the json, but when I try use dynamic params like{{now().day}}.{{now().month}}.{{now().year}}

it stop working.

Are those template values doesn’t work in configuration.yaml? How to set dynamic date for that link?


Ok. it works now. If someone need it

  - platform: rest
#    resource:
    name: PrivatBank
#   value_template: '{{ }}' 
    value_template: '{% for rate in value_json.exchangeRate -%}{%- if rate.currency == "USD" %}{{rate.purchaseRateNB | round(2)}}{% endif -%}{%- endfor %}'