iprak / weatherapi

HomeAssistant custom integration to fetch data from weatherapi
MIT License
8 stars 3 forks source link

Air quality entity is deprecated, migrate to sensors #13

Closed p0wertiger closed 2 years ago

p0wertiger commented 2 years ago

With version v0.6 air quality entity has been introduced. According to documentation located here, air quality entity is deprecated. I found this issue when I had to make my own templates to pull out attributes from the entity as their own sensors, that's because you can't display entity attributes in Lovelace. The correct way explained is to implement measurements as separate sensors.

iprak commented 2 years ago

Bummer .. I was referencing the AirQuality class itself and it gave no hint of such deprecation.