Json_attributes how to

You need to set json_attributes_path, then extract the items that you want. If you don’t know how to do that. Use an online helper to figure out the path.

- platform: rest
  name: "Bitladon ADA"
  resource: https://api.bitladon.com/market/ada
  scan_interval: 60
  value_template: "{{ value_json.value }}"
  json_attributes_path: $.result
  json_attributes:
    - ticker
    - name
    - buyfinal
    - change24h
1 Like