I want to write rest sensor. But i need to dynamic query. like this
- platform: rest
resource: http://myurl/api?date=20190403
…
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?