-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui-lovelace.yaml
72 lines (69 loc) · 2.38 KB
/
ui-lovelace.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
title: Genius SW-HF 5.1 3000 Remote Control
resources:
- url: /community_plugin/button-card/button-card.js
type: module
views:
- title: Labs
icon: mdi:test-tube
path: labs
cards:
- type: vertical-stack
cards:
- type: "custom:button-card"
color_type: label-card
name: Genius SW-HF 5.1 3000 Remote Control
template: header_button
- type: horizontal-stack
cards:
- type: "custom:button-card"
name: "Power"
icon: mdi:power
show_icon: true
show_name: false
tap_action:
action: call-service
service: rest_command.genius_swhf51_3000_command
service_data:
command: POWER
- type: "custom:button-card"
name: "Volume Down"
icon: mdi:volume-minus
show_icon: true
show_name: false
tap_action:
action: call-service
service: rest_command.genius_swhf51_3000_command
service_data:
command: VOL-
hold_action:
action: call-service
service: rest_command.genius_swhf51_3000_command
repeat: 500
service_data:
command: VOL-
- type: "custom:button-card"
name: "Volume Up"
icon: mdi:volume-plus
show_icon: true
show_name: false
tap_action:
action: call-service
service: rest_command.genius_swhf51_3000_command
service_data:
command: VOL+
hold_action:
action: call-service
service: rest_command.genius_swhf51_3000_command
repeat: 500
service_data:
command: VOL+
- type: "custom:button-card"
name: "Mute"
icon: mdi:volume-off
show_icon: true
show_name: false
tap_action:
action: call-service
service: rest_command.genius_swhf51_3000_command
service_data:
command: MUTE