How to setup a fan

Hello,
I have a fan with the following buttons:
On/off
Speed (one button, each press encreases the speed)
Mode
Osc

I’ve set up a broadlink rmpro with all the codes and each button is a switch on home assistant.
What I don’t know is how to set it up on hadashboatd.

Can anyone point me to the right direction please?

just add a switch widget for all the switches you got in home assistant.

thank you, but the switch has only an on/off, how will it toggle the 3 speed options or the 3 mode options or the 3 timer options? also, when i’ll turn it off, how will it turn the rest of the switches off at the same time (I mean, when I press the speed switch it needs to go on for a second and the show off, something like a momentary switch).

how do you toggle the 3 speed options in HA?
you say you got it all in HA.

the dashboard can do as much as HA, but not more. (maybe a little)
so the question is actually,
how do you all control it without the dashboard (but with HA)?

a momentary switch can be created by adding the option momentary: 300 to the switch widget configuration.
where 300 stays for 300 milliseconds.

thank you very much!
the thing is that i’m a bit lost on HA. I’ve created switches using Broadlink and it works fine to turn on/off or when I turn the speed on it goes to the next speed and when I turn it off it goes to the speed after and so on but I wanted to simulate exactly the fan logic, so I tried using input_select.
Anyway, thank you very much for your help! I think that the momentary option is what I’m after, So I will configure the on/off button as a normal switch and the rest as a momentary switches.

can I ask you one more question please?
your remote controller widget, can I press a button on one panel and it will show the remote controller like a pop up panel on top or it has to be a separate panel? I hope I explain myself correctly…

luckily i know how the broadlink switches work. :wink:
just delete the command off for the speed switch.
then you got a switch with only a command on.
every time you press that switch the speed will go to the next speed.
you can use the switch with momentary for the dashboard there.

so thats for the speed part.

if the mode works the same then do the same for that.

sorry i dont know about what widget you are talking.
i created a remote dashboard, but thats just another dashboard not a widget.
there is no widget that popups a remote.

amazing, thank you! I couldn’t sleep last night because of that!

always glad when i can help someone sleep again :wink: