Struggling with Groups yaml

Not sure why my Group Automations are not working. I suspect my Groups.yaml syntax is incorrect

Here are the groups I 'd like to have

  • family360 : One group for three list360 users
  • Family Room Late Night Motion: One group for four motion sensors
  • Office Motion: One group for two motion sensors
  • Vacation Lights: One group for multiple Lights and swithes
group:
family360:
  name: Family 360
  icon: mdi:account-group-outline
entities:
    - device_tracker.life360_child
    - device_tracker.life360_mother
    - device_tracker.life360_father
  #Family Room Late Night
motion:
  name: Family Room Late Night Motion   "duplicate key"
  icon: mdi:motion-sensor   "duplicate key"
  entities:   "duplicate key"
    - binary_sensor.foyer_motion_aq_foyer
    - binary_sensor.hallway_motion
    - binary_sensor.family_room_motion
    - binary_sensor.familymotion_on_off
  name: Office Motion   "duplicate key"
  icon: mdi:motion-sensor   "duplicate key"
  entities:   "duplicate key"
    - binary_sensor.office_motion
    - binary_sensor.desk
vacation lights:
  - light.sue_bedroom
  - switch.office
  - light.son_desk
  - light.son_floor
  - light.dining_room_lights
  - light.family_room_left
  - light.family_room_right
  - switch.family_room_accent
  - light.living_room_lights
  - light.living_room_left
  - light.living_room_right

Family360 and everything under it needs to be indented further…

The example there should be helpful

Also you are missing a group name for office motion

Your guess is correct. Remove the first line containing this:

group:

That’s not needed if your groups are defined in a separate file (as opposed to within configuration.yaml).

Also follow Bartem’s instructions.

1 Like

Thanks guys… Very helpful.
I had also fat fingered #Family Room Late Night Motion

Got it all working now