naofireblade / homebridge-weather-plus

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

Added RainChance to openweathermap #241

Closed vniehues closed 1 year ago

vniehues commented 1 year ago

openweathermap includes the chance of rain as "pop" in their "on-call-api". I updated the service to include it.

vniehues commented 1 year ago

This should be easy to merge. I changed 2 lines of code and because RainChance was present before this change, everything else works. Hiding the value via config works as well.

naofireblade commented 1 year ago

Thank you!

pelletip commented 1 year ago

How do you access the RainChance value? I would love to trigger an automation based on rain chances value, but not sure on how to have access to it?