Hello
I am pretty sure that it is a noob issue but after several days of investigation, I prefer to ask question
I have created group but unfortunately it seem that these groups are not created and not recognized by HA.
I have created a dedicated groups.yaml with the following group
Preformatted text
light:
############################################################
## LIGHT GROUPS ##
############################################################
- platform: group
name: livinroom lights
entities:
- light.spot
- light.lampadaire
- light.lumiere_cuisine
- platform: group
name: deskroom lights
entities:
- light.prise_pc
- platform: group
name: livingroom
entities:
- light.prise_tv
- light.spot
- light.lampadaire
- light.lumiere_cuisine
- platform: group
name: Deskroom
entities:
- light.plafonnier
- light.prise_pc
group:
############################################################
## ALL GROUPS ##
############################################################
all_lights_livingroom:
name: livingroom
entities:
- light.prise_tv
- light.spot
- light.lampadaire
- light.lumiere_cuisine
all_lights_deskroom:
name: Deskroom
entities:
- light.prise_pc
- light.Plafonnier
I have include this file in the configuration.yaml
Preformatted text
group: !include /config/groups/groups.yaml
At the end, I have to following issue if I check the config
Invalid config for [group]: extra keys not allowed @ data['group']['group']['all_lights_deskroom']. Got OrderedDict([('name', 'Deskroom'), ('entities', ['light.prise_pc', 'light.Plafonnier'])])
extra keys not allowed @ data['group']['group']['all_lights_livingroom']. Got OrderedDict([('name', 'livingroom'), ('entities', ['light.prise_tv', 'light.spot', 'light.lampadaire', 'light.lumiere_cuisine'])])
value should be a string for dictionary value @ data['group']['automation']['entities']. Got None
value should be a string for dictionary value @ data['group']['light']['entities']. Got None
value should be a string for dictionary value @ data['group']['sensor']['entities']. Got None. (See /config/configuration.yaml, line 31).
Thank you a lot for your help !