Group of entities from different domains

Is there a way to group entities from differing domains? e.g.
my bedroom has two lifx bulbs (light.xxxx_lamp)
and an overhead controlled by a Shelly relay (switch.shelly_25_channel_1)

They all control lights with states of on/off.
How do I group them?

Create a helper, ‘switch as x’. Select the switch, it will create a new light entity, hide the switch (it might do that anyway), put the new light in the group.

heads up for future users: the option that @eggman is referring to is in the menu as “Change device type of a switch”

Not sure if they changed it over the years but it tripped me up for a second!

image