WTH - Why can I not create a group in the UI that contains lights and switches?

I would like to be able to combine light and switch entities into a group in the UI.

Are you wanting to group them because the switches control light fixtures?

If so, there is a helper that converts switches into lights. Do that first, then you can group them.

I have mostly switches and I would like to add a light to a group of switches and then be able to turn them on/off as a group. I know I could do this with labels, but I like the group status for my UI.

1 Like

Add a label to them and use homeassistant.turn_on service calling out the label

2 Likes

What do the switches control? Are they not controlling lights of some sort?

Old style YAML groups aupports this. But rhis is no UI but in YAML itself.

This is how I currently do them.

FYI, this was already called out here: WTH is there no generic group creation in UI

Before labels— I just created a lights group and a switch group then a group of groups named all lights.