Add automations for steam
This commit is contained in:
parent
94d7100ebf
commit
020189b1d7
58
configuration/automations/steam.yaml
Normal file
58
configuration/automations/steam.yaml
Normal file
@ -0,0 +1,58 @@
|
||||
- id: steam-hue-sync-racing
|
||||
alias: '[Steam] Set Hue sync to racing profile'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
to: Forza Horizon 5
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
to: F1 2020
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
to: F1 2021
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- service: huesyncbox.set_entertainment_area
|
||||
data:
|
||||
entertainment_area: Racing
|
||||
target:
|
||||
entity_id: media_player.sync_box
|
||||
|
||||
- id: steam-hue-sync-normal
|
||||
alias: '[Steam] Set hue sync back'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
from: Forza Horizon 5
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
from: F1 2020
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
from: F1 2021
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- service: huesyncbox.set_entertainment_area
|
||||
data:
|
||||
entertainment_area: TV Lights
|
||||
target:
|
||||
entity_id: media_player.sync_box
|
Loading…
Reference in New Issue
Block a user