Hello
I am trying to make a simple automation that will turn on some lights when someone in a group comes home but it will not trigger. I have 2 persons in that group. I have used the GUI editor to make the automation. any ideas?
- id: '1574166577964'
alias: 'Lys på når noen kommer hjem '
description: ''
trigger:
- entity_id: group.voksne
from: 'not_home '
platform: state
to: 'home'
condition:
- after: '12:00:00'
condition: time
action:
- device_id: c556a5cbef824aee83426f227683ae7d
domain: switch
entity_id: switch.kjokken_lys
type: turn_on
- device_id: 568005fba9e64d0bb6d1cee63f483ebe
domain: switch
entity_id: switch.vindfang
type: turn_on
- device_id: 1de29ffed5eb49c6904f65d601e6e43b
domain: light
entity_id: light.gang
type: turn_on