Turning off theater automations temporarily
This commit is contained in:
parent
f078d38968
commit
f080bbf30b
|
@ -4,45 +4,45 @@
|
|||
#
|
||||
############
|
||||
|
||||
- alias: "Movie Started - Turn Off Lights"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: media_player.apple_tv
|
||||
to: 'playing'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'below_horizon'
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.movie_time
|
||||
# - alias: "Movie Started - Turn Off Lights"
|
||||
# trigger:
|
||||
# - platform: state
|
||||
# entity_id: media_player.apple_tv
|
||||
# to: 'playing'
|
||||
# condition:
|
||||
# - condition: state
|
||||
# entity_id: sun.sun
|
||||
# state: 'below_horizon'
|
||||
# action:
|
||||
# - service: scene.turn_on
|
||||
# entity_id: scene.movie_time
|
||||
|
||||
- alias: "Movie Paused - Lights Dim"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: media_player.apple_tv
|
||||
from: 'playing'
|
||||
to: 'paused'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'below_horizon'
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.livingroom_dim
|
||||
# - alias: "Movie Paused - Lights Dim"
|
||||
# trigger:
|
||||
# - platform: state
|
||||
# entity_id: media_player.apple_tv
|
||||
# from: 'playing'
|
||||
# to: 'paused'
|
||||
# condition:
|
||||
# - condition: state
|
||||
# entity_id: sun.sun
|
||||
# state: 'below_horizon'
|
||||
# action:
|
||||
# - service: scene.turn_on
|
||||
# entity_id: scene.livingroom_dim
|
||||
|
||||
- alias: "Movie Stopped - Lights On"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: media_player.apple_tv
|
||||
from: 'playing'
|
||||
to: 'idle'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'below_horizon'
|
||||
action:
|
||||
- service: script.house_lights_up
|
||||
# - alias: "Movie Stopped - Lights On"
|
||||
# trigger:
|
||||
# - platform: state
|
||||
# entity_id: media_player.apple_tv
|
||||
# from: 'playing'
|
||||
# to: 'idle'
|
||||
# condition:
|
||||
# - condition: state
|
||||
# entity_id: sun.sun
|
||||
# state: 'below_horizon'
|
||||
# action:
|
||||
# - service: script.house_lights_up
|
||||
|
||||
|
||||
# - alias: "Movie Resumed - Lights Off"
|
||||
|
|
Loading…
Reference in New Issue