I recently moved to HA from smarthings, and one thing I had was groups of lights in ST.
I am trying to create those here, I have tried using the groups.yaml even the lights.yaml (which is the closest to working I have) but I am getting yelled at cause I have a switch in the mix.
The system cannot restart because the configuration is not valid: Invalid config for [light.group]: Entity ID 'switch.globes' does not belong to domain 'light' for dictionary value @ data['entities']. Got ['switch.globes', 'light.desk_lamp_level_light_color_on_off', 'light.tall_corner_lamp']. (See ?, line ?).
I just started with 2 rooms in the lights.yaml like so.
- platform: group
name: Kitchen Lights
entities:
- light.kitchen_sink_654a0c03_level_on_off
- light.randy_d43b0c03_level_on_off
- platform: group
name: Living Room Lights
entities:
- switch.globes
- light.desk_lamp_level_light_color_on_off
- light.tall_corner_lamp
What am I missing?
Is there a better way to group lights for HA?
I have multiple switches and other things I would like to use with groups.