-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathP2000switchauto.yaml
More file actions
38 lines (38 loc) · 1.02 KB
/
P2000switchauto.yaml
File metadata and controls
38 lines (38 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
alias: View-assist-p2000 auto vlaardingen-rijnmond
description: ""
triggers:
- trigger: state
entity_id:
- input_boolean.p2000
conditions: []
actions:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.p2000
state: "on"
sequence:
- action: automation.turn_on
target:
entity_id: automation.view_assist_p2000
data: {}
- action: automation.turn_off
target:
entity_id: automation.p2000_rijnmond
data:
stop_actions: true
- conditions:
- condition: state
entity_id: input_boolean.p2000
state: "off"
sequence:
- action: automation.turn_off
target:
entity_id: automation.view_assist_p2000
data:
stop_actions: true
- action: automation.turn_on
target:
entity_id: automation.p2000_rijnmond
data: {}
mode: single