AirVisual component config

Hi All,

currently AirVisual component can be configured only by latitude and longitude inputs
AirVisual Documentation

According to AirVisual it is much better and more effective to find nearest sensor by state/region/city input: I had experience of current HASS integration to pick up the wrong city.

Syntax is:
http://api.airvisual.com/v2/city?country=YOURCOUNTRYNAME&state=YOURSTATENAME&city=YOURCITYNAME&key=INSERTYOURKEY

Hi there! Platform author here. I will make this addition and get it into the next release. Thanks!

FYI, a PR has been submitted: https://github.com/home-assistant/home-assistant/pull/9436

great!!! happy to provide a (very) small contibution!

Hi – 0.54.0 (released today) has this update.