Here is how I solved this:

Here is how I solved this:

I have spent a substantial amount of time trying to figure this out. Please assist.
I parse a JSON like this:

Here is what the JSON looks like:

How to get the value of "aqi", which in this case is 66.
I need to put this number in the empty 'if' place, and depending on it, the color of the LED will change.
Any help, much appreciated. Thanks!