vanstinator / hass-raincloud

Melnor Raincloud Home Assistant Integration
6 stars 1 forks source link

Not handling Rain Delays when using a moisture sensor #6

Open harryohalloran opened 4 years ago

harryohalloran commented 4 years ago

I'm using the melon water sensor on one of my two faucets that are both on the same controller. The one that has a moisture sensor hooked up to it constantly changes the Rain Delay field from "Sensor" to a random amount of days. I'm assuming this is happening because the sensor that is created in Home Assistant isn't handling the non integer value correctly. Attached is screenshot of how this value shows on wifiaquatimer.com

image

and in Hassio I'm getting a value of "1"

image
vanstinator commented 3 years ago

This integration only writes to that field when the raincloud.rain_delay service is called. I'm not sure how the Sensor value would otherwise be added. I don't have a moisture sensor myself but I was under the impression it was supposed to set the value of Rain Delay when it detected a certain threshold of moisture.