Airvisual config with extra province/station field?

Hi,

Documentation
asks for >country>state>city, but the crumb for my station uses an extra country>state>province>city(station)

https://www.airvisual.com/netherlands/north-brabant/huijbergen/huijbergen-vennekenstraat

how do we need to configure this.

using the Waqi platform we did this using:

  - platform: waqi
    token: !secret waqi_token
    locations:
      - Vennekenstraat, Huijbergen

please have a look?

This is the way I have airvisual set up for city/station. province and country:

    city: williams-lake-columneetza-school
    state: british-columbia
    country: canada

hi!

what is the url you have for that?

im puzzled about the final bit of it. Note I have the city name in the station name also…

This is the full sensor section for airvisual:

  - platform: airvisual
    api_key: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
    monitored_conditions:
      - us
    show_on_map: false
    scan_interval: 600
    city: williams-lake-columneetza-school
    state: british-columbia
    country: canada

this is the url:

although I don’t use it.

thanks! see, you don’t have the extra crumb in the url, so that’s easy :wink:

I need to fit in the extra field, so hope for the author to chime in