Hi,
I have a number of pulsed/momentary switches, such as a valve, garden irrigation, window blinds (to close partly). They should be (or even must be) switched off after a certain time which the user sets in the interface. (For the water, another sensor might do, but the status of the blinds is really about how the user feels at that moment.) I assumed this is a standard case, but haven’t found much.
Can this be done with a template switch? Or by some custom component? I have only found examples with a fixed interval.
Right now I use a value input and an automation which is triggered when the user sets a value. Also done in Binary switch variants: timer, led by time, led by event. A bit complicated, especially if you want this for many switches…
Best regards