I want to thank you all for your help in getting a newbie lile me all set up. Would you help me with one more thing?
I took a stab at setting up lights with some difficulty here is my current yaml.
light:
platform: group
name: bedroom
entities:
light.bedroom_lamp_1
light.bedroom_lamp_2
Example configuration.yaml entry
light:
platform: group
name: kitchen_fan
entities:
light.kitchen_fan_1
light.kitchen_fan_2
light.kitchen_fan_3
Example configuration.yaml entry
light:
platform: group
name: dining_room
entities:
light.dining_room_bulb_1
light.dining_room_bulb_2
light.dining_room_bulb_3
Example configuration.yaml entry
light:
platform: group
name: front_door
entities:
light.front_door_1
light.front_door_2
light.front_door_3
When i reloaded the only light group that showed up under entities is front_door, no bedroom, dining, and kitchen. To my untrained eye they all look like the same exact setup. Would anyone please help me fix this?
YAML is spacing sensitive and the manner in which you shared the text is not going to be useful. Try using the “Preformatted text” option to share YAML code.
All four of your light groups should be defined under onelight: domain. You have created each one of the four light groups with its own light domain. In other words, each instance of light: is redefining the light groups it contains. Only the last instance of light: (containing front_door) is the one that Home Assistant uses.
Put all four light groups under the one light: domain.
Please consider marking my post above with the Solution tag. It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has been resolved. This helps users find answers to similar questions. For more information, refer to guideline 21 in the FAQ.