How to control multiple lights with one switch on dashboard

I am a beginner to automation, so I don’t know how to/the best way to do many things. To keep it short I want to control 3 lights with one on/off switch on my dashboard. If it is important, two are lights controlled by Lutron Caséta switches and the last light is a ESP8266 running WLED for a light strip. All lights are already controllable through Home Assistant, I just need a way to combine them into one switch on the dashboard.

Under devices, go to the helpers tab → create helper → select group → select the proper group type based on the device entities (light or switch). Add your light entities and give it a name. This will create a new entity that will control all the lights. Use the new entity in a card.

If the devices are different entity types, you can either create an old style group or use the “switch as a” helper to change the switches to lights.

11 Likes

Found this thread. I want to combine 3 outlets and 2 switches to make a living room that I can add to the dashboard to toggle on and off. I have added a couple outlets to a group helper, but I also need to add 2 switches. The “Old Style Group” page suggests we should use this any longer.

There is a helper called “Change device type of a switch”. is that what this above is talking about? That does not show either switch. Other switches of the same manufacture (TP-Link) show up. And the attributes of the desired switch shows up (such as switch.bridge_spots_led).

How can I add these 2 switches to the group so I can add that group to the dashboard?

I mean, it said that a year ago when I wrote the post :rofl:.

The physical device type doesn’t matter. The entity domain does. If you look at the entire you toggle for each device, are they all ‘switch.name’ or ‘light.name’ or something else?

@FriedCheese funny. Well, I am up for hand coding using the old style, but prefer UI.

Are you referring to the “change device” or the group settings?

I’m referring to the actual devices in HA.

The outlets that I was able to add to the helper are switch.xxxx. Lights that I can’t add are light.xxx. See screenshots.


I think I may see where you are going with this question. It is odd, the switches are all TP-Link (Kasa). Some are registered in HA as Light.xxx others are as Switch.xxxx. The ones that are registered as Light I can’t add, but there does not appear to be a way to fix the problem. The difference is the ones below (listed as switches) are standard on/off (HS200) and the ones that I can’t add are dimmers (HS220)

Alright. I decided to go old school and add an entry to yaml and it worked after restart of HA.

group:
living_room:
name: “Living Room Light Group”
entities:
- light.bridge_spots
- switch.living_room_lamps_2_plug_socket_1
- switch.living_room_lamps_2_plug_socket_1_2
- switch.wp2_bk_n_socket_1
- switch.wp2_bk_n_socket_2