I have managed to get the selectattr to work, but had to use “match” as a test type
{{ value_json | selectattr('id', 'match', 'BTC') | map(attribute='price') | list | first | round(4) }}
Thank you.
I have managed to get the selectattr to work, but had to use “match” as a test type
{{ value_json | selectattr('id', 'match', 'BTC') | map(attribute='price') | list | first | round(4) }}
Thank you.