-
Notifications
You must be signed in to change notification settings - Fork 183
/
kef_dsp.yaml
executable file
·211 lines (196 loc) · 5.75 KB
/
kef_dsp.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
---
#-
# _ __ _
# | | _____ / _| __| |___ _ __
# | |/ / _ \ |_ / _` / __| '_ \
# | < __/ _|| (_| \__ \ |_) |
# |_|\_\___|_|___\__,_|___/ .__/
# |_____| |_|
#
#- from github.com/basnijholt/home-assistant-config
# _ _ _
# (_)_ __ _ __ _ _| |_ _ __ _ _ _ __ ___ | |__ ___ _ __
# | | '_ \| '_ \| | | | __| | '_ \| | | | '_ ` _ \| '_ \ / _ \ '__|
# | | | | | |_) | |_| | |_ | | | | |_| | | | | | | |_) | __/ |
# |_|_| |_| .__/ \__,_|\__|___|_| |_|\__,_|_| |_| |_|_.__/ \___|_|
# |_| |_____|
- alias: "KEF DSP: sync desk_db"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: desk_db
- platform: state
entity_id: input_number.kef_ls50_desk_db
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: number
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: desk_db
- alias: "KEF DSP: sync wall_db"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: wall_db
- platform: state
entity_id: input_number.kef_ls50_wall_db
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: number
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "wall_db"
- alias: "KEF DSP: sync treble_db"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: treble_db
- platform: state
entity_id: input_number.kef_ls50_treble_db
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: number
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "treble_db"
- alias: "KEF DSP: sync high_hz"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: high_hz
- platform: state
entity_id: input_number.kef_ls50_high_hz
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: number
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "high_hz"
- alias: "KEF DSP: sync low_hz"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: low_hz
- platform: state
entity_id: input_number.kef_ls50_low_hz
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: number
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "low_hz"
- alias: "KEF DSP: sync sub_db"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: sub_db
- platform: state
entity_id: input_number.kef_ls50_sub_db
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: number
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "sub_db"
# _ _ _ _
# (_)_ __ _ __ _ _| |_ ___ ___| | ___ ___| |_
# | | '_ \| '_ \| | | | __| / __|/ _ \ |/ _ \/ __| __|
# | | | | | |_) | |_| | |_ \__ \ __/ | __/ (__| |_
# |_|_| |_| .__/ \__,_|\__|___|___/\___|_|\___|\___|\__|
# |_| |_____|
- alias: "KEF DSP: sync sub_polarity"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: sub_polarity
- platform: state
entity_id: input_select.kef_ls50_sub_polarity
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: select
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "sub_polarity"
- alias: "KEF DSP: sync bass_extension"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: bass_extension
- platform: state
entity_id: input_select.kef_ls50_bass_extension
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: select
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "bass_extension"
# _ _ _ _
# (_)_ __ _ __ _ _| |_ | |__ ___ ___ | | ___ __ _ _ __
# | | '_ \| '_ \| | | | __| | '_ \ / _ \ / _ \| |/ _ \/ _` | '_ \
# | | | | | |_) | |_| | |_ | |_) | (_) | (_) | | __/ (_| | | | |
# |_|_| |_| .__/ \__,_|\__|___|_.__/ \___/ \___/|_|\___|\__,_|_| |_|
# |_| |_____|
- alias: "KEF DSP: sync desk_mode"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: desk_mode
- platform: state
entity_id: input_boolean.kef_ls50_desk_mode
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: boolean
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "desk_mode"
- alias: "KEF DSP: sync wall_mode"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: wall_mode
- platform: state
entity_id: input_boolean.kef_ls50_wall_mode
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: boolean
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "wall_mode"
- alias: "KEF DSP: sync phase_correction"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: phase_correction
- platform: state
entity_id: input_boolean.kef_ls50_phase_correction
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: boolean
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "phase_correction"
- alias: "KEF DSP: sync high_pass"
trigger:
- platform: state
entity_id: media_player.kef_ls50
attribute: high_pass
- platform: state
entity_id: input_boolean.kef_ls50_high_pass
action:
service: script.sync_kef_dsp
data:
name: kef_ls50
domain: boolean
trigger_entity_id: "{{ trigger.entity_id }}"
attribute: "high_pass"