I'm trying to set up my first scraper integration. I'm hitting my purpleair sensor locally since the purpleair API is deprecated.
I've read the scrape docs but don't see any examples for parsing json.
The purpleair local json payload is pretty simple (at /json), it looks like this:
{
"pm2.5_aqi":4,
"p_0_3_um":264.00,
}
``` etc.
I'm confused because the `select` string in the sensor map is required, but that's for html tags, which isn't relevant for me. I understand I need to use `value_template` to teach HA how to grab the right value out of the json response. I'm not sure how to reference the entire json object so I can then index it to grab `"p_0_3_um"` for example.
Can someone provide a sample scraper config for that?