Question regarding toggle in cards for entire rooms

Hello all! Im a total noob with HA and have 0 coding skills, so forgive me if im asking stupid questions.

Anyways, im trying to make a toggle for an entire room, like " turn off all lights in the office". Im experimenting with cards, and can toggle the lights one by one, but cant seem to make a button to turn them all off. Can someone help?

Like this: Plz ignore the epic photoshop skills i have.

Pot the switches in an entities card. That card has a global toggle button built in.

1 Like