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

Broken Image on 2.0 #51

Closed ChrisRomp closed 2 years ago

ChrisRomp commented 2 years ago

There's a broken image referencing /hacsfiles/air-visual-card/ic-w-undefined.svg after updating to 2.0. I suppose this is because I haven't defined the weather property, but maybe it should add a display:none or similar to the icon when undefined?

Lower right: image

ChrisRomp commented 2 years ago

Or better yet, if the weather property isn't set, can you just assume that hide_weather is true?