viktak / ha-cc-openweathermap_all

Home Assistant custom component combining multiple OpenWeatherMap API calls
GNU General Public License v3.0
22 stars 2 forks source link

Index-Sensors #7

Closed riwich closed 3 years ago

riwich commented 3 years ago

Super useful integration, thanks for that! Is there somewhere (haven't found it yet...) minimum and maximum values plus a rating for the two index sensors "_sensor.owm_pollution_overall_airquality" and "_sensor.owm_ultravioletindex" ?

Thanks and best regards, Thomas

viktak commented 3 years ago

What do you maximum value? The maximum of last hour? Last day? Last.... ? I think, adding these to this component would slow it down a quite a bit. What you can do instead, is use a mini graph card to display historical data, which shows max and min values. At least, that's how I do it :). (See the screenshot on the front page of this component.

riwich commented 3 years ago

Hello viktak, thank you for your response! I thought there should be some kind of rating, a scale for the index. Like for example here: https://aqicn.org/scale/ Only to judge which values mean "good", "medium", "poor", etc. Unfortunately, OpenWeatherMap seems to use a different scale than "AQI". Anyway, thanks for sharing your work and I will now also use "mini graph card"!

Thomas