Hide entities within a group card?

I would like to have a single switch for my ‘all lights’ group, but the card contains a switch for every single light underneath the main switch. Is there a way to hide switches within a group card?

You could create an input_boolean and a simple automation that turns all lights on?
this way you won’t have every single light listed underneath?

Ted,

I thought I’d answered you in the other thread but apparently I either dreamt it, or didn’t press submit!

group:
  Lights:
    - group.all_lights

Will create a card with just the one toggle on it, that toggles the whole group. The problem here is that you have a ‘default_view’, and therefore it shows everything, and now that you have un-hidden the group.all_lights to make the new card work, it will show the group itself as well.

Only way around that is to:

  • hide group.all lights again, and use a template switch / input boolean to control the group
  • create your own default_view