parent
502e67c286
commit
651ef5137f
@ -1,18 +1,26 @@
|
|||||||
######################################################################
|
######################################################################
|
||||||
## Good night Routine
|
## Good night Routine
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
- alias: 'Good Night Routine'
|
- alias: 'Good Night Routine'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: event
|
- platform: event
|
||||||
event_type: good_night
|
event_type: good_night
|
||||||
|
- platform: state
|
||||||
# condition:
|
entity_id: sensor.samsungtv
|
||||||
# - condition: state
|
state: 'Offline'
|
||||||
# entity_id: group.family
|
|
||||||
# state: home
|
condition:
|
||||||
|
- condition: state
|
||||||
action:
|
entity_id: group.family
|
||||||
- service: script.interior_off
|
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