How to use template query string in platform rest

I want to write rest sensor. But i need to dynamic query. like this

date query must changed to current date. i’m trying `date={{ utcnow().strftime("%Y%m%d") }}’ . but template not work.

How to call dynamic query string in rest platform?

Not sure, but i think a template for the resource is not possible.
Maybe use a command line sensor and a shell script.

1 Like