Switch with 3 positions

Hi all,

I have a ventilation system in my home that is working with 3 switches. The way it operates is with press and release switches. I have 3 buttons at home and each button is associated with a speed. If I press and release the first one, then it goes into speed one, etc.

image

You can see on the image, that the buttons are discovered and if I click on vent_niveau3 then again on vent_niveau3 then it will put it on then off then my system works.

I cannot let it turned on, I need to do on then off immediately and then it works.

How can I create a button that will simulate each time an on then off of this switch in a short interval.

After that, how could I have a select box with the speed and I chose 1 or 2 or 3 and then it will do the on and off rapidly on the corresponding speed button?

Thanks if you can help,

John.

I’d suggest an input select for picking one of the three speeds, and optionally an off. You can then use an automation to select the right speed.

You could also create an input boolean to turn the fan on and off, so that you separate the on/off control from the speed control. Again, backed by an automation.

Thanks, it works like a charm :slight_smile: