-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
69 lines (68 loc) · 1.82 KB
/
configuration.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
media_player:
- platform: universal
name: stb7
device_class: tv
commands:
turn_on:
service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.stb7_state
turn_off:
service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.stb7_state
volume_up:
service: input_number.increment
data: {}
target:
entity_id: input_number.stb7_volume_level
volume_down:
service: input_number.decrement
data: {}
target:
entity_id: input_number.stb7_volume_level
volume_mute:
service: input_boolean.toggle
data: {}
target:
entity_id: input_boolean.stb7_mute
volume_set:
service: input_number.set_value
data:
value: "{{ volume_level }}"
target:
entity_id: input_number.stb7_volume_level
select_source:
service: input_select.select_option
data:
option: "{{ source }}"
target:
entity_id: input_select.stb7_sources
media_play:
service: input_text.set_value
data:
value: play
target:
entity_id: input_text.stb7_key
media_stop:
service: input_text.set_value
data:
value: stop
target:
entity_id: input_text.stb7_key
media_pause:
service: input_text.set_value
data:
value: pause
target:
entity_id: input_text.stb7_key
attributes:
state: input_boolean.stb7_state
volume_level: input_number.stb7_volume_level
source: input_select.stb7_sources
media_title: input_select.stb7_sources
source_list: input_select.stb7_sources|options
# media_channel: input_select.stb7_sources
is_volume_muted: input_boolean.stb7_mute