mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
23 lines
468 B
YAML
23 lines
468 B
YAML
id: steam_vr_on
|
|
alias: Steam VR On
|
|
mode: single
|
|
# Hide warnings when triggered while in delay.
|
|
max_exceeded: silent
|
|
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sensor.dreambox_steamvractive
|
|
above: 0
|
|
|
|
condition:
|
|
- alias: "VR switch is powered off"
|
|
condition: state
|
|
entity_id: switch.virtual_reality
|
|
state: 'off'
|
|
|
|
action:
|
|
- alias: "Turn on the VR Headset plug"
|
|
service: switch.turn_on
|
|
target:
|
|
entity_id: switch.virtual_reality
|