Creating sensors from json list

ok thanks - first attempt didnt work. Do you know if theres particular documentation on the syntax for this, e.g. specifically what @ or ? do and reference

EDIT: Got it working :slight_smile: Thanks @koying
The Flight number in the data set had spaces after it

- name: "Skyaware RRR6657"
  json_attributes_path: '$.aircraft[?(@.flight == "RRR6657 ")]'
  value_template: "OK"
  json_attributes:
    - flight
    - alt_baro
    - alt_geom
    - gs
    - track
    - baro_rate
    - emergency

for json_attributes_path I stumbled across this which suggest ‘contains’ could possibly be used in place of == to avoid having to add the spaces but this didnt work in my quick test, reference:
https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html