-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathautomations.yaml
More file actions
79 lines (79 loc) · 1.9 KB
/
Copy pathautomations.yaml
File metadata and controls
79 lines (79 loc) · 1.9 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
- id: '1638823120932'
alias: Living Room TV remote from HomeKit
description: ''
trigger:
- platform: event
event_type: homekit_tv_remote_key_pressed
id: arrow_right
event_data:
key_name: arrow_right
- platform: event
event_type: homekit_tv_remote_key_pressed
id: arrow_left
event_data:
key_name: arrow_left
- platform: event
event_type: homekit_tv_remote_key_pressed
id: arrow_up
event_data:
key_name: arrow_up
- platform: event
event_type: homekit_tv_remote_key_pressed
id: arrow_down
event_data:
key_name: arrow_down
- platform: event
event_type: homekit_tv_remote_key_pressed
id: select
event_data:
key_name: select
- platform: event
event_type: homekit_tv_remote_key_pressed
id: back
event_data:
key_name: back
- platform: event
event_type: homekit_tv_remote_key_pressed
id: information
event_data:
key_name: information
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: arrow_right
sequence:
- service: script.livingroom_tv_key_right
- conditions:
- condition: trigger
id: arrow_left
sequence:
- service: script.livingroom_tv_key_left
- conditions:
- condition: trigger
id: arrow_up
sequence:
- service: script.livingroom_tv_key_up
- conditions:
- condition: trigger
id: arrow_down
sequence:
- service: script.livingroom_tv_key_down
- conditions:
- condition: trigger
id: select
sequence:
- service: script.livingroom_tv_key_enter
- conditions:
- condition: trigger
id: back
sequence:
- service: script.livingroom_tv_key_return
- conditions:
- condition: trigger
id: information
sequence:
- service: script.livingroom_tv_info
default: []
mode: single