Hello,
I’m trying to create sensor to get a REST API value, so added followwing in config file:
sensor:
- platform: rest
name: Token_Price
method: GET
resource: https://api.geckoterminal.com/api/v2/simple/networks/avax/token_price/0x18fc6360e83fe91404d47ea4400a221dfbbacf06
value_template: “{{ value_json.data.attributes.token_prices[‘0x18fc6360e83fe91404d47ea4400a221dfbbacf06’] }}”
scan_interval: 60 # Poll the API every 1 minute
But the sensor is not showing up after restart
Anyone an idea what’s missing here?
Many thanks,