Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (20 sloc) 513 Bytes
- alias: 'Turn on GangBG light when coming home'
trigger:
- platform: state
entity_id: group.all_devices
to: 'home'
condition:
- condition: state
entity_id: group.all_devices
state: 'home'
- condition: state
entity_id: input_boolean.night_mode
state: 'off'
- condition: sun
after: 'sunset'
action:
- service: light.turn_on
entity_id: light.gang_licht_31
- delay: 0:02
- service: light.turn_off
entity_id: light.gang_licht_31