As i mentioned, it works as expected - when the slider is changed to another value, it immedately triggers the shell command with the udpated variable but the issue i’m having is that it sends that command every ~5 seconds (ignore the on/off switch - that takes ~15 seconds to update):
Have you looked in home-assistant.log? All the detail of what’s going on should be there. You may have to enable DEBUG (but it’s on by default if you haven’t changed the log level.)
That would only apply if it was the command_state part of the command_line switch that was causing the problem (since that polls.) Which may be possible. But the shell_command (which in theory is causing the problem) does not poll.
In either case, the log should shed some light on what’s really happening.
That’s what I mean. The activity @ideasman69 is seeing is might not be due to the shell command. As the command_state is quite similar it could be this polling activity he is seeing.
The quickest way to check would be to comment out the switch, restart, and see if the activity stops.
After tailing the logs and noticing no traffic headed to the prinkler system, i noticed something interesting and it’s actually obvious in the GIF in my original post.
When the shell command is sent, the “master” solenoid turns off for some reason. Sometimes it takes 5 seconds to come back on and other times up to 20 seconds. So the countdown timer keeps resetting back to the originally requested time until the master solenoid powers back on. Makes sense i guess - just wish i noticed earlier!
edit: ideally i wanted to get it to the point where i’d set the slider and then flick the switch to “on” for it to use the slider value but i can’t quite get my head around it.