Double RFXcom DeviceID for one switch

Hi all,

I was wondering if it is somehow possible to attach 2 device ids to one switch.
Or: couple them somehow.

My situation:

I sometimes use 2 remotes for 1 device (433MHZ). So the module that switches recognizes both signals. Both remotes use another device id though (RFXtrx433e).

1 of these device_id I attached to a switch in HASS, but the second device id keeps popping up in the gui because of autoadd. I don’t really care which remote is used to turn on this switch, I just want HASS to change the state of the switch no matter which one is used.

Have a look at https://home-assistant.io/components/switch.template/

You should add both your remotes to Hass, but you can hide them both with customize.
Then add a template switch. Use value_template to set the new switch to on if any of you to rfxtrx switches are on.