Add VR automations
This commit is contained in:
parent
999a35d693
commit
4bd6861c0c
33
configuration/automations/office-vr.yaml
Normal file
33
configuration/automations/office-vr.yaml
Normal file
@ -0,0 +1,33 @@
|
||||
- id: office_vr_start_using
|
||||
alias: "[Office][VR] Start using"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.quest_in_use
|
||||
action:
|
||||
- service: automation.turn_off
|
||||
data:
|
||||
stop_actions: true
|
||||
target:
|
||||
entity_id:
|
||||
- automation.office_lights_off
|
||||
- automation.living_room_lights_off
|
||||
- service: script.office_lights_off
|
||||
- service: script.living_room_lights_on
|
||||
|
||||
- id: office_vr_stop_using
|
||||
alias: "[Office][VR] Stop using"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.quest_in_use
|
||||
action:
|
||||
- service: automation.turn_on
|
||||
data:
|
||||
stop_actions: true
|
||||
target:
|
||||
entity_id:
|
||||
- automation.office_lights_off
|
||||
- automation.living_room_lights_off
|
Loading…
Reference in New Issue
Block a user