I just got BroadLink universal remote control BroadLink RM4 mini and thanks to integration called “SmartIR” with a preset code I was able to make my stupid AC → smart.
Now I got the BroadLink integration installed, and my remote is called “remote.office_remote” working. I purchased this LED light from AliExpress that has a remote control and here it what it looks like:
Using the native app BroadLink I was able to teach the remote to control it, but I want to do this inside Home Assistant. I am newbie but made a bit of search and found out it might be possible with Custom template for custom light. Thank to ChatGPT I was able to make a light entity that I added to my dashboard.
I get this error: Invalid config for [switch.broadlink]: [my_broadlink_switch] is an invalid option for [switch.broadlink]. Check: switch.broadlink->switches->0->my_broadlink_switch. (See ?, line ?).
The remote has button for ON and button for OFF, which I made learn command “turn_off” and “turn_on”
I might be doing it wrong. How should be the switch configured and is it possible to make function of all the other buttons as well. Possibly color picker as RGB LED light or at least presets “red” “blue” “fade” “smooth” and etc.
I know this is kind of complex for a newbie as me, but i am sure there are many talented people here which it is possibly easy for you Please help!
Yes, I know the standard way is to make script with a buttons, but I want to go a different way. I want 1 light entity that uses Mushroom light card and to have on/off and possibly other functionality or at least on/off. Your way is OK, but I seek something different which i think is a bit more complex and I dont have the knowledge to do it. Thank you for your answer as well, I appreciate it.
Well, i did resolve that on/off even more different - with a smart switch, so the quiet power hungry cheap chinese transformer does not eat energy, when off
I get this error: Invalid config for [switch.broadlink]: [my_broadlink_switch] is an invalid option for [switch.broadlink]. Check: switch.broadlink->switches->0->my_broadlink_switch. (See ?, line ?).