forked from philpownall/ESPHomeRoomba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuniversalremotecard.yaml
171 lines (170 loc) · 3.48 KB
/
universalremotecard.yaml
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
type: custom:android-tv-card
rows:
- - passive
- safe
- reboot
- - dock
- forward
- wake
- - turnleft
- stop
- turnright
- - rotateleft
- reverse
- rotateright
- - clean
- spot
- vacuum
custom_actions:
- type: button
name: safe
tap_action:
action: call-service
service: esphome.roomba_command
data:
command: safe
target: {}
icon: mdi:robot-vacuum
entity_id: sensor.roomba_roomba_oi_mode
label: Safe
- type: button
name: passive
tap_action:
action: call-service
service: esphome.roomba_command
data:
command: passive
target: {}
icon: mdi:robot-vacuum
entity_id: sensor.roomba_roomba_oi_mode
label: Passive
- type: button
name: wake
tap_action:
action: call-service
service: esphome.roomba_command
data:
command: wake
target: {}
icon: mdi:robot-vacuum
label: Wake
- type: button
name: dock
tap_action:
action: call-service
service: esphome.roomba_command
data:
command: dock
target: {}
icon: mdi:robot-vacuum-variant
label: Dock
- type: button
name: reboot
tap_action:
action: call-service
service: esphome.roomba_command
data:
command: reset
target: {}
icon: mdi:restart
label: Reboot
- type: button
name: forward
tap_action:
action: toggle
target:
entity_id: button.roomba_forward
show_state: true
icon: mdi:arrow-up-bold
label: Forward
- type: button
name: turnleft
tap_action:
action: toggle
target:
entity_id: button.roomba_turn_left
show_state: true
icon: mdi:arrow-left-top-bold
label: Turn Left
- type: button
name: stop
tap_action:
action: toggle
target:
entity_id: button.roomba_stop
icon: mdi:pause
show_state: true
label: Stop
- type: button
name: turnright
tap_action:
action: toggle
target:
entity_id: button.roomba_turn_right
show_state: true
icon: mdi:arrow-right-top-bold
label: Turn Right
- type: button
name: rotateleft
tap_action:
action: toggle
target:
entity_id: button.roomba_rotate_left
show_state: true
icon: mdi:rotate-left
label: Rotate Left
- type: button
name: reverse
tap_action:
action: toggle
target:
entity_id: button.roomba_reverse
show_state: true
icon: mdi:arrow-down-bold
label: Reverse
- type: button
name: rotateright
tap_action:
action: toggle
target:
entity_id: button.roomba_rotate_right
show_state: true
icon: mdi:rotate-right
label: Rotate Right
- type: button
name: clean
tap_action:
action: call-service
service: esphome.roomba_command
data:
command: clean
target: {}
icon: mdi:robot-vacuum
label: Clean
- type: button
name: spot
tap_action:
action: call-service
service: esphome.roomba_command
data:
command: spot
target: {}
icon: mdi:robot-vacuum
label: Spot
- type: button
name: vacuum
tap_action:
action: toggle
target:
entity_id: switch.vacuum
show_state: true
icon: mdi:robot-vacuum
label: Vacuum
entity_id: switch.vacuum
double_tap_action:
action: none
hold_action:
action: none
autofill_entity_id: false
custom_icons: []
title: Commands