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" action: switch.turn_off target: entity_id: switch.virtual_reality