I have just configured a Broadlink RM4 Pro universal remote to control my retractable awnings. I created the awnings device on the app and “taught” it the RF commands and everything is working.
I also installed the Broadlink integration in HA and added the remote to it. It shows one device, the RM4 and one entity, also the RM4. But there is no entity for my awnings. Anyone know how to get that added? I know there is a remote.learn_command but the remote has already learned the RF codes.
There is no more need to set up platforms, except for custom IR/RF switches. Once the device is configured, all entities will be created automatically.
So it seems like the awning should be there, unless it is a “custom RF switch.” So maybe I need a platform? I don’t know what that is or how to set it up. Or do I need to delete the device from the app and re-learn via HA? Any guidance appreciated.
Did you learn the commands using the Broadlink app? If so, that doesn’t “transfer over” to the HA integration. You have to do the learning using Home Asst Integration. The Broadlink app is not needed.
This is correct. The integration creates an entity for the RM4, but HA has no way of knowing what the devices it controls are, or their state - RF is a one way system, there are no signals coming back.
You may be able to create entities to show the assumed state of your awnings using Broadlink switches (details right at the end of the docs), or possibly using toggle helpers.
I created a FR to address this shortcoming. It still doesn’t “know” the state of your awning but at least you should be able to press a button like on a remote.