mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
alias: Great Room TV Off
|
||||
id: automation_great_room_tv_off
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: media_player.downstairs_roku
|
||||
from: 'playing'
|
||||
to: 'idle'
|
||||
for: '00:00:30'
|
||||
- platform: state
|
||||
entity_id: media_player.downstairs_roku
|
||||
from: 'playing'
|
||||
to: 'on'
|
||||
for: '00:00:30'
|
||||
- platform: state
|
||||
entity_id: media_player.downstairs_roku
|
||||
from: 'playing'
|
||||
to: 'home'
|
||||
for: '00:00:30'
|
||||
- platform: state
|
||||
entity_id: media_player.downstairs_roku
|
||||
from: 'paused'
|
||||
to: 'idle'
|
||||
for: '00:00:30'
|
||||
- platform: state
|
||||
entity_id: media_player.downstairs_roku
|
||||
from: 'paused'
|
||||
to: 'home'
|
||||
for: '00:00:30'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.lighting_automations
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: input_boolean.great_room_light_cycle
|
||||
state: 'on'
|
||||
action:
|
||||
- choose:
|
||||
- conditions: "{{is_state('input_boolean.great_room_light_cycle','on')}}"
|
||||
sequence:
|
||||
- service: input_boolean.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: input_boolean.great_room_light_cycle
|
||||
|
||||
- choose:
|
||||
- conditions: "{{is_state('input_boolean.computer_area_light_cycle','on')}}"
|
||||
sequence:
|
||||
- service: input_boolean.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: input_boolean.computer_area_light_cycle
|
||||
|
||||
# - service: input_select.select_option
|
||||
# target:
|
||||
# entity_id: input_select.nursery_mode
|
||||
# data:
|
||||
# option: "Nightlight"
|
||||
|
||||
Reference in New Issue
Block a user