dnguyen800 / air-visual-card

A Lovelace card showing air quality data from airvisual.com. Requires the AirVisual component.
MIT License
100 stars 35 forks source link

Feature Request: Option to hide the icon #34

Closed ChrisRomp closed 3 years ago

ChrisRomp commented 3 years ago

Would be nice to not see the face (or any icon) optionally.

Suggested parameter: show_icon Type: boolean Default value: true

Then in the configuration, one could have:

  - type: 'custom:air-visual-card'
    air_pollution_level: sensor.use_the_actual_name_of_your_sensor_not_this_example
    air_quality_index: sensor.use_the_actual_name_of_your_sensor_not_this_example
    main_pollutant: sensor.use_the_actual_name_of_your_sensor_not_this_example
    temp: weather.use_the_actual_name_of_your_weather_entity_not_this_example
    city: 'San Francisco'
    show_icon: false
dnguyen800 commented 3 years ago

added to latest release.