gieljnssns / buienalarm-sensor-homeassistant

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

Allow setting the threshold value for the next precipitation time #37

Open ShadowJonathan opened 2 months ago

ShadowJonathan commented 2 months ago

Edit this line here to take a variable from the config: https://github.com/gieljnssns/buienalarm-sensor-homeassistant/blob/ef20a78e84ddeec4bde18fcd5d513159685806dc/custom_components/buienalarm/sensor.py#L193

This would allow me to setup multiple of the same integration side-by-side, all looking for different rain thresholds, and notify me with a higher priority when heavy rain is expected, for example. (Or automatically close the window when rain >0.5mm is expected within X minutes and such)