Hey guys,
I started with Home Assitant a day or two ago and I’m trying to get a better grip on how things work.
So one of the features I’m exploring now is using groups of lights. Segmentizing the lights gives me better control I hope and creates a cleaner automations.
So i thought let’s start with a group in my groups.yaml:
koepel_lights:
name: Koepel Lights
entities:
- light.art
- light.kamerlamp_l
- light.kamerlamp_r
- light.koepel_leds
And let’s create within automation.yaml (based upon the example in the documentation)
- id: lights_on_sun_set
alias: Turn on the lights when the sun is set
description: ''
trigger:
- event: sunset
platform: sun
offset: "-00:45:00"
condition:
- condition: state
entity_id: all
state: home
action:
- service: light.turn_on
entity_id: group.koepel_lights
mode: single
But this does give an invalid config and I can’t figure out why. Can anybody help me with this?
I know… noob question.