After update to 0.115 broadlink switch doesn麓t work. I configured all devices with integration, remote is ok, but when I reconfigure switch.yaml with this example:
When I go to dash I try to find in a group I receive this error.

configuration.yaml
Mine config Work:
switch:
broadlink documentation
broadlink source
(message by IssueLinks)
Mine config Work:
switch:
platform: broadlink
mac: 'mac:adress'
switches:
- name: nasme
command_on: x
command_off: x
You are on 0.115?
Yes, 0.115.
You have switch: before "platform: broadlink" like this?:
switch:
Did you add the device via config flow? Did you double check the MAC address?
You are on 0.115?
Mine did not work after the 0.115 upgrade. Here is what I did to fix it.
Her is my original config:
switch:
- platform: broadlink
host: 192.168.ip.address
mac: 'MAC:ADD:RE:SS'
type: rm2_pro_plus
switches:
#Kitchen Cabinet Lights
kitchen_cabinet_lights:
friendly_name: "Kitchen Cabinet Lights"
command_on: "JgCYAAABJpMSExMSEzYSNxITExITNhM2EjcSExM2EjcTNxMRExITEhMSExITEhMSExITEhMSEzYROBI3EjcTNhM2EjcTNhMSEwAFGQABJ0gUAAxLAAEnSBQADEsAASVKEwAMTAABJUoVAAxKAAElShIADE0AASdJEgAMTAABJ0gTAAxMAAEmSRIADE0AASZJEgAMTQABJkkTAA0F"
command_off: "JgCIAAABJZQTEhMSEzYSNxMSExITNhI3EjcSExM2EjcSNxMSExITEhM2EhMTEhMSExITEhMSEzYRFBM2EzYSNxI3EjcTNhMSEwAFGQABJkkTAAxMAAEmSRQADEsAASVKEwAMTAABJUoSAAxNAAEnSBQADEsAASZJEgAMTQABJkkSAAxNAAElShIADQU="
I previously followed instructions from Dr.Zzs Youtube video, but as I periodically remind myself "always check current official documentation". Let me say, it is so refreshing to use an OpenSource project with good official documentation.
I had never setup the Broadlink integration using the UI as the Broadlink integration documentation instructs in the first paragraph under Configuration. @felipediel good catch. So I did this, then followed the instructions for 'switch' and put this in my config:
switch:
- platform: broadlink
mac: 'mac:add:re:ss'
switches:
- name: Kitchen Cabinet Lights
command_on: "JgCYAAABJpMSExMSEzYSNxITExITNhM2EjcSExM2EjcTNxMRExITEhMSExITEhMSExITEhMSEzYROBI3EjcTNhM2EjcTNhMSEwAFGQABJ0gUAAxLAAEnSBQADEsAASVKEwAMTAABJUoVAAxKAAElShIADE0AASdJEgAMTAABJ0gTAAxMAAEmSRIADE0AASZJEgAMTQABJkkTAA0F"
command_off: "JgCIAAABJZQTEhMSEzYSNxMSExITNhI3EjcSExM2EjcSNxMSExITEhM2EhMTEhMSExITEhMSEzYRFBM2EzYSNxI3EjcTNhMSEwAFGQABJkkTAAxMAAEmSRQADEsAASVKEwAMTAABJUoSAAxNAAEnSBQADEsAASZJEgAMTQABJkkSAAxNAAElShIADQU="
And now everything is working again (including UI entity controls and Nabu Casa Alexa integration)! @koslovsky hopefully this helps!
I just updated version, before that, all devices work perfectly. After this I changed switch.yaml and added device on integration. Where do you configure config flow?
Thanks
Configure via Integration == via config flow. Check the MAC address.
yes I used integration and checked MAC.
The point that I find strange that the function of the Switch, even with wrong configuration, it should appear on the dashboard as a switch, Correct?
No. If you use the wrong MAC the switch won't be configured. Please double check, I'm 99% sure that's your problem.
I have another 2 devices and works. I will try to find what is wrong with this one.
Thanks a lot!!!!
Felipe, you were right, I went to check the MAC that was registered in the secrets file and it was wrong. Amazing that the previous version asked to register but did not use to send command. Thank you
Most helpful comment
Felipe, you were right, I went to check the MAC that was registered in the secrets file and it was wrong. Amazing that the previous version asked to register but did not use to send command. Thank you