1
0

Add automations for steam

This commit is contained in:
Przemek Grondek 2022-08-12 21:59:21 +02:00
parent 94d7100ebf
commit 020189b1d7

View 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