naofireblade / homebridge-weather-plus

A comprehensive weather plugin for homebridge.
MIT License
311 stars 61 forks source link

Update characteristics.js to increase UV index to 11 #229

Closed Zerosignal84 closed 2 years ago

Zerosignal84 commented 2 years ago

Correcting error where UV index was capped at 10.

[14/02/2022, 17:49:15] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'UV Index': characteristic was supplied illegal value: number 11 exceeded maximum of 10. See https://git.io/JtMGR for more info.

odelcourt commented 2 years ago

I would set the maxValue to 12 as recent personal weather stations have UV Index going up to 12.