mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
blue_room to boys_room
This commit is contained in:
@@ -5,24 +5,24 @@ trigger:
|
||||
- platform: state
|
||||
id: idle_five_min
|
||||
entity_id: media_player.downstairs_roku
|
||||
not_from: 'unavailable'
|
||||
to: 'idle'
|
||||
for: '00:05:00'
|
||||
not_from: "unavailable"
|
||||
to: "idle"
|
||||
for: "00:05:00"
|
||||
- platform: state
|
||||
id: home_fifteen_min
|
||||
entity_id: media_player.downstairs_roku
|
||||
not_from: 'unavailable'
|
||||
to: 'home'
|
||||
for: '00:15:00'
|
||||
not_from: "unavailable"
|
||||
to: "home"
|
||||
for: "00:15:00"
|
||||
- platform: state
|
||||
id: playing_fifteen_min
|
||||
entity_id: media_player.downstairs_roku
|
||||
from: 'playing'
|
||||
for: '00:15:00'
|
||||
from: "playing"
|
||||
for: "00:15:00"
|
||||
- platform: state
|
||||
id: from_idle
|
||||
entity_id: media_player.downstairs_roku
|
||||
from: 'idle'
|
||||
from: "idle"
|
||||
|
||||
condition:
|
||||
alias: "Roku not unavailable"
|
||||
@@ -44,7 +44,7 @@ action:
|
||||
# entity_id: switch.shelly_projector
|
||||
# state: 'off'
|
||||
# sequence:
|
||||
# - service: switch.turn_on
|
||||
# - action: switch.turn_on
|
||||
# data:
|
||||
# entity_id: switch.shelly_projector
|
||||
- alias: "Roku idle or unused, turn off projector"
|
||||
@@ -59,10 +59,10 @@ action:
|
||||
- condition: trigger
|
||||
id: home_fifteen_min
|
||||
sequence:
|
||||
# - service: switch.turn_off
|
||||
# - action: switch.turn_off
|
||||
# target:
|
||||
# entity_id: switch.shelly_projector
|
||||
- service: input_boolean.turn_off
|
||||
- action: input_boolean.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: input_boolean.great_room_light_cycle
|
||||
|
||||
Reference in New Issue
Block a user