GitHub – dnguyen800/air-visual-card: A Lovelace card showing air quality data from airvisual.com. Requires the AirVisual component.
type
string
Required
custom:air-visual-card
Type of the card
air_pollution_level
string
Required
sensor.u_s_air_pollution_level
Name of the Air Pollution Level sensor.
air_quality_index
string
optional
sensor.u_s_air_quality_index
Name of the Air Quality Index sensor. If sensor does not exist, do not add this config value.
main_pollutant
string
optional
sensor.u_s_main_pollutant
Name of the Main Pollutant sensor. If sensor does not exist, do not add this config value.
weather
string
optional
weather.dark_sky
Name of the weather entity if you wish to display temperature, humidity and wind information on the card.
country
string
US
mdi:air-conditioner
Name of the country that Airvisual is collecting AQI data from.
city
string
optional
San Francisco
Name of the city that AirVisual is collecting AQI data from.
unit_of_measurement
string
optional
AQI
Unit of measurement
icons
string
/hacsfiles/air-visual-card
/hacsfiles/air-visual-card
The local directory where the .svg files are located. For example, ‘icons: “/hacsfiles/air-visual-card”‘ is appropriate if this plugin is installed using HACS. If left blank, icons will be loaded from default location.
hide_title
boolean
true
true
false
hide_face
boolean
false
true
false
hide_weather
boolean
true
true
false