gieljnssns / buienalarm-sensor-homeassistant

Buienalarm custom_component for Home-Assistant
MIT License
36 stars 6 forks source link

Fix call to buienalarm and add sensor type #2

Closed dajomas closed 4 years ago

dajomas commented 4 years ago

The call to Buienalarm would always use a timeframe of 60 (default) in stead of the provided timeframe. So I changed the calling to use keyword arguments in stead of positional arguments.

I have added a sensor type that will tell me if, and when, within the current timeframe rain is expected. -1 means no rain is expected, 0 means it is raining now and >0 means rain is expected within that amount of minutes

gieljnssns commented 4 years ago

There is a new version in HACS