Hey all, I’m rather new to home assistant, and am working on automating an irrigation reservoir. My intent is for when I set the helper to my desired volume and hit run, a script will run that open the valve until the volume sensor template goes above the value set via helper, then shut off. Here is the yaml, not sure if i’m using the right functions
Note this will not switch off the valve if you change the input number to below the tank level after the valve is already on (the trigger only monitors for changes in the sensor, not the input number). To have that functionality use a template trigger instead:
thanks for the quick response, this community rocks. That sure seems significantly simpler than my previous yaml, though i’m not quite sure how to fit that into a script