mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
34 lines
800 B
YAML
34 lines
800 B
YAML
alias: Great Room TV Paused
|
|
id: automation_great_room_tv_paused
|
|
trigger:
|
|
- platform: state
|
|
entity_id: media_player.downstairs_roku
|
|
from: "playing"
|
|
to: "idle"
|
|
- platform: state
|
|
entity_id: media_player.downstairs_roku
|
|
from: "playing"
|
|
to: "home"
|
|
- platform: state
|
|
entity_id: media_player.downstairs_roku
|
|
from: "paused"
|
|
to: "idle"
|
|
- platform: state
|
|
entity_id: media_player.downstairs_roku
|
|
from: "paused"
|
|
to: "home"
|
|
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_boolean.lighting_automations
|
|
state: "on"
|
|
- condition: state
|
|
entity_id: input_boolean.great_room_light_cycle
|
|
state: "on"
|
|
action:
|
|
- action: input_number.set_value
|
|
data:
|
|
value: 30
|
|
target:
|
|
entity_id: input_number.great_room_light_cycle_brightness
|