Trouble with groups

I am trying to make some groups to use in automation’s and they are not showing up (as states,entitiesor devices) after multiple reboots. I can’t find them for use in node red either. Any help appreciated.

here is my groups.yaml I have a green checkmark so no errors.

default_view:
  view: true
#  entities:





  garage:
    name: Garage Lights
    enities:
     - switch.garage_light_2
     - switch.garage_light_1
     - switch.garage_light
      
  
    
  bedtime:
    name: bedtime Lights
    entities:
     - light.craigs_bedroom_lamp
     - light.master_bedroom_light
     - light.master_closet_lamp
     - light.master_closet_light
     - light.tricias_bedroom_lamp
     
  Master Closet Lights:
    name: Master Closet Lights
    entities:
     - light.master_closet_lamp
     - light.master_closet_light
   
  shop lights:
    name: shop lights
    entities:
    - light.shop_bench_light
    - light.shop_light
       
       
  Closet switchs:
    name: closet switches
    entities:
     - switch.master_closet_lamp
     - switch.master_closet_light

Where do you got this from? See the docs on how to configure groups.

I added that based on another sample it doesn’t work whether it is in or out. I will take it out and confirm again.

Thanks

Craig

Okay file now looks like, rebooted and still can’t find them. thanks for the suggestion open to trying anything else. if you need anything else to help figure this out just ask.

Craig







  garage:
    name: Garage Lights
    enities:
     - switch.garage_light_2
     - switch.garage_light_1
     - switch.garage_light
      
  
    
  bedtime:
    name: bedtime Lights
    entities:
     - light.craigs_bedroom_lamp
     - light.master_bedroom_light
     - light.master_closet_lamp
     - light.master_closet_light
     - light.tricias_bedroom_lamp
     
  Master Closet Lights:
    name: Master Closet Lights
    entities:
     - light.master_closet_lamp
     - light.master_closet_light
   
  shop lights:
    name: shop lights
    entities:
    - light.shop_bench_light
    - light.shop_light
       
       
  Closet switchs:
    name: closet switches
    entities:
     - switch.master_closet_lamp
     - switch.master_closet_light

Solved as usual a pebkac(problem exists between keyboard and chair) error I missed the t on entities and because it is in the group folder you don’t ned the group: designation at the beginning of the file.

Thanks

Craig

That’s true but according to the sample you shared in your first post, the first line did not contain group: (it was something else that was equally invalid). Had it been visible in the first post, someone would have mentioned it was invalid.

For future reference, when you split the configuration, whether for the domain group, automation, sensor, etc. the first line never contains the domain’s name.

Whatever example you used containing default_view is outdated (by over a year). Home Assistant evolves rapidly and any example over a year old (arguably over 3 months old) should be double-checked because it may no longer be valid.