'Unique_id' s for RF Switches?

I’ve trawled the forum and cant find anything about added unique_id’s to RF Switches that have been added via configuration.yaml :frowning:

Is it at all possible to add a unique_id (so i can set a room etc.) to a ‘switch’ that uses the Broadlink platform to send the RF command to turn the switch on and off? At the moment i have the switch working and showing up in the main UI however as it doesnt have a unique_id so it cant be assigned to a room… anyone have a trick to doing it?

Not that I know off

I was hoping i could use ‘customize’ platform within the configuration.yaml… but not sure if its doable. Or potentially wrapping it up in the platform: ‘template’ in someway?

You could use a template switch