Two remotes for one switch


I am about to switch to Home Assistant from Domoticz. I have been reading up on HASS now for 2 days, and have found how to set up everything to work like in Domoticz, except for one thing.

In Domoticz when adding switches picked up by RFXtrx433E I can choose it be a sub/slave of another switch. So if I have paird one wall plug with two remotes, it will only show one device in the UI. And that devices is controlled with both remotes.

The only thing I can find about this is Multiple switches controlling 1 light

But this is to me not the same thing. For me it is the plug/light that is the actual device, not the swtich/remote.

How can I get the same setup in Home Assistant?