Switches not grouping

I am very new to this so i am just setting up my devices and trying to digest this steep learning curve.
Anyway i have set up some switches and the all work fine, the problem is they don’t seem to want to be grouped together.
I am pretty sure it is formatting on my part but i cannot see it. I was hoping a fresh pair of eyes could help or maybe someone can point out what i am missing.

Switches in the config ( main fan)

groups… ( Weather groups works perfect)

Result…

It looks like you forgot to add the ‘entities’ part to the groups. And you also need an underscore instead of a space in ‘jeds_fan’

jeds_fan:
  name: "Jed's Fan"
  entities:
    - switch.jeds_fan_light
    - switch.jeds_fan_power
    - switch.jeds_fan_1
    - switch.jeds_fan_2
    - switch.jeds_fan_3
1 Like

Also, I think you could also merge the light on/off for the main switch by simply putting

switches:
  main_fan_light:
    friendly_name: main fan light
    command_on: 'your_ON_code'
    command_off: 'your_OFF_code'
 main_fan_speed3:
    ...

Excellent work guys, some more important lessons learned.

Thanks :slight_smile:

1 Like