parent
502e67c286
commit
651ef5137f
@ -1,18 +1,26 @@
|
||||
######################################################################
|
||||
## Good night Routine
|
||||
######################################################################
|
||||
|
||||
- alias: 'Good Night Routine'
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: good_night
|
||||
|
||||
# condition:
|
||||
# - condition: state
|
||||
# entity_id: group.family
|
||||
# state: home
|
||||
|
||||
action:
|
||||
- service: script.interior_off
|
||||
|
||||
######################################################################
|
||||
## Good night Routine
|
||||
######################################################################
|
||||
|
||||
- alias: 'Good Night Routine'
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: good_night
|
||||
- platform: state
|
||||
entity_id: sensor.samsungtv
|
||||
state: 'Offline'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
- condition: time
|
||||
after: '20:00:00'
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
|
||||
action:
|
||||
- service: script.interior_off
|
||||
|
||||
|
||||
Loading…
Reference in new issue