Default_view doesn't show groups

I’ve created the groups in group.yaml file, there are group tabs on the page but no any cards in default_view, how do I let these groups show in default_view?

group.yaml file as below:

bedroom:
  view: yes
  name: Bedroom
  entities:
    - switch.bedroom_cool_air_conditioning
    - switch.mian_curtains
    - switch.second_curtains
    
living_room:
  view: yes
  name: Living Room
  entities:
    - switch.projector
    - switch.screen
    - switch.screen_pause
    - switch.computer
bathroom:
  view: yes
  name: Bathroom
  entities:
    - switch.water_heater


default_view:
  view: yes
  entities:
    - group.living_room
    - group.bedroom
    - group.bathroom
    - sun.sun

The view: yes you have on your several groups is making them into tabs instead of cards. You’ll want either to remove view: yes from all the groups except default_view, or make a separate set of groups to represent your cards.

@netopiax I made this configuration file by a youtube video, which his groups can both show in cards and tabs.

I also tried to put the gourps into a separate group which view:false, still the same result as above.

did I forget something?

@netopiax

Finally, it works as you said I need to remove the view, and set another group standalone with view:yes.

bedroom_view:
  view: yes
  name: Bedroom
  entities:
    - group.bedroom

bedroom:
  name: Bedroom
  entities:
    - switch.bedroom_cooling_air_conditioning
    - switch.mian_curtains
    - switch.second_curtains


    
living_room_view:
  view: yes
  name: Living Room
  entities:
    - group.living_room

living_room:
  name: Living Room
  entities:
    - switch.living_room_cooling_air_conditioning
    - switch.projector
    - switch.screen
    - switch.screen_pause
    - switch.computer

bathroom_view:
  view: yes
  name: Bathroom
  entities:
    - group.bathroom

bathroom:
  name: Bathroom
  entities:
    - switch.water_heater

Update: emmm… seems I don’t need the default_view anymore.