mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
id: steam_vr_off
|
||||
alias: Steam VR Off
|
||||
mode: single
|
||||
# Hide warnings when triggered while in delay.
|
||||
max_exceeded: silent
|
||||
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.dreambox_steamvractive
|
||||
below: 1
|
||||
for:
|
||||
seconds: 30
|
||||
|
||||
condition:
|
||||
- alias: "VR switch is powered on"
|
||||
condition: state
|
||||
entity_id: switch.virtual_reality
|
||||
state: 'on'
|
||||
|
||||
action:
|
||||
- alias: "Turn off the VR Headset plug"
|
||||
service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.virtual_reality
|
||||
Reference in New Issue
Block a user