-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts.yaml
330 lines (330 loc) · 19.3 KB
/
scripts.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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
evohome_custom:
alias: Evohome Custom
sequence:
- service: evohome.set_system_mode
data:
mode: Custom
mode: single
evohome_followschedule:
alias: Evohome FollowSchedule
sequence:
- service: evohome.reset_system
data: {}
mode: single
otgw_reset:
alias: OTGW Reset
sequence:
- service: mqtt.publish
data:
topic: set/otgw/control_setpoint
payload: 0
- service: mqtt.publish
data:
topic: set/otgw/max_modulation
payload: T
- service: automation.turn_off
data: {}
entity_id: automation.otgw_follow_evohome
- service: automation.turn_off
data: {}
entity_id: automation.otgw_follow_evohome_10_0
mode: single
create_otgw_sensors:
alias: Create otgw sensors
sequence:
- service: mqtt.publish
data:
topic: homeassistant/sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aab/otgw_boiler_setpoint/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW Boiler Setpoint\"\
,\n \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aab_sensor_otgw_boiler_setpoint\"\
,\n \"device_class\": \"temperature\",\n \"unit_of_measurement\": \"°C\"\
,\n \"state_topic\": \"value/otgw/boiler_setpoint\",\n \"device\": {\n \
\ \"manufacturer\": \"Pete\",\n \"name\": \"PY-OTGW-MQTT\",\n \
\ \"model\": \"v2.0\",\n \"identifiers\": [\"py-otgw-mqtt\", \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aab\"\
]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aac/otgw_evohome_setpoint/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW Evohome Setpoint\"\
,\n \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aac_sensor_otgw_evohome_setpoint\"\
,\n \"device_class\": \"temperature\",\n \"unit_of_measurement\": \"°C\"\
,\n \"state_topic\": \"value/otgw/evohome_setpoint\",\n \"device\": {\n\
\ \"manufacturer\": \"Pete\",\n \"name\": \"PY-OTGW-MQTT\",\n \
\ \"model\": \"v2.0\",\n \"identifiers\": [\"py-otgw-mqtt\", \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aac\"\
]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aad/otgw_flame_modulation/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW Flame Modulation\"\
,\n \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aad_sensor_otgw_flame_modulation\"\
,\n \"device_class\": \"temperature\",\n \"unit_of_measurement\": \"%\"\
,\n \"state_topic\": \"value/otgw/boiler_relative_modulation_level\",\n \
\ \"device\": {\n \"manufacturer\": \"Pete\",\n \"name\": \"PY-OTGW-MQTT\"\
,\n \"model\": \"v2.0\",\n \"identifiers\": [\"py-otgw-mqtt\", \"\
py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aad\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aae/otgw_boiler_max_modulation/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW Boiler Max Modulation\"\
,\n \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aae_sensor_otgw_boiler_max_modulation\"\
,\n \"device_class\": \"temperature\",\n \"unit_of_measurement\": \"%\"\
,\n \"state_topic\": \"value/otgw/boiler_max_relative_modulation_level\"\
,\n \"device\": {\n \"manufacturer\": \"Pete\",\n \"name\": \"\
PY-OTGW-MQTT\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"py-otgw-mqtt\"\
, \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aae\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aaf/otgw_evohome_max_modulation/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW Evohome Max Modulation\"\
,\n \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aaf_sensor_otgw_evohome_max_modulation\"\
,\n \"device_class\": \"temperature\",\n \"unit_of_measurement\": \"%\"\
,\n \"state_topic\": \"value/otgw/evohome_max_relative_modulation_level\"\
,\n \"device\": {\n \"manufacturer\": \"Pete\",\n \"name\": \"\
PY-OTGW-MQTT\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"py-otgw-mqtt\"\
, \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aaf\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aba/otgw_ch_feed_boiler/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW CH Feed Boiler\"\
,\n \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aba_sensor_otgw_ch_feed_boiler\"\
,\n \"device_class\": \"temperature\",\n \"unit_of_measurement\": \"°C\"\
,\n \"state_topic\": \"value/otgw/boiler_water_temperature\",\n \"device\"\
: {\n \"manufacturer\": \"Pete\",\n \"name\": \"PY-OTGW-MQTT\",\n\
\ \"model\": \"v2.0\",\n \"identifiers\": [\"py-otgw-mqtt\", \"\
py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aba\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abb/otgw_ch_return_boiler/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW CH Return Boiler\"\
,\n \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abb_sensor_otgw_ch_return_boiler\"\
,\n \"device_class\": \"temperature\",\n \"unit_of_measurement\": \"°C\"\
,\n \"state_topic\": \"value/otgw/boiler_return_water_temperature\",\n \"\
device\": {\n \"manufacturer\": \"Pete\",\n \"name\": \"PY-OTGW-MQTT\"\
,\n \"model\": \"v2.0\",\n \"identifiers\": [\"py-otgw-mqtt\", \"\
py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abb\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abc/otgw_ch_water_pressure/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW CH Water Pressure\"\
,\n \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abc_sensor_otgw_ch_water_pressure\"\
,\n \"device_class\": \"pressure\",\n \"unit_of_measurement\": \"bar\",\n\
\ \"state_topic\": \"value/otgw/boiler_water_pressure\",\n \"device\": {\n\
\ \"manufacturer\": \"Pete\",\n \"name\": \"PY-OTGW-MQTT\",\n \
\ \"model\": \"v2.0\",\n \"identifiers\": [\"py-otgw-mqtt\", \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abc\"\
]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aca/otgw_ch_max_setpoint/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW CH Max Setpoint\"\
,\n \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aca_sensor_otgw_ch_max_setpoint\"\
,\n \"device_class\": \"temperature\",\n \"unit_of_measurement\": \"°C\"\
,\n \"state_topic\": \"value/otgw/boiler_max_ch_water_setpoint\",\n \"device\"\
: {\n \"manufacturer\": \"Pete\",\n \"name\": \"PY-OTGW-MQTT\",\n\
\ \"model\": \"v2.0\",\n \"identifiers\": [\"py-otgw-mqtt\", \"\
py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80aca\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/binary_sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abd/otgw_flame_status/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW Flame Status\",\n\
\ \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abd_binary_sensor_otgw_flame_status\"\
,\n \"payload_on\": \"True\",\n \"payload_off\": \"False\", \n \"state_topic\"\
: \"value/otgw/flame_status\",\n \"device\": {\n \"manufacturer\": \"\
Pete\",\n \"name\": \"PY-OTGW-MQTT\",\n \"model\": \"v2.0\",\n \
\ \"identifiers\": [\"py-otgw-mqtt\", \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abd\"\
]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/binary_sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abe/otgw_ch_status/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW CH Status\",\n \"\
unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abe_binary_sensor_otgw_ch_status\"\
,\n \"payload_on\": \"True\",\n \"payload_off\": \"False\", \n \"state_topic\"\
: \"value/otgw/ch_active\",\n \"device\": {\n \"manufacturer\": \"Pete\"\
,\n \"name\": \"PY-OTGW-MQTT\",\n \"model\": \"v2.0\",\n \"\
identifiers\": [\"py-otgw-mqtt\", \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abe\"\
]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/binary_sensor/py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abf/otgw_dhw_status/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"OTGW DHW Status\",\n \
\ \"unique_id\": \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abf_binary_sensor_otgw_dhw_status\"\
,\n \"payload_on\": \"True\",\n \"payload_off\": \"False\", \n \"state_topic\"\
: \"value/otgw/dhw_active\",\n \"device\": {\n \"manufacturer\": \"\
Pete\",\n \"name\": \"PY-OTGW-MQTT\",\n \"model\": \"v2.0\",\n \
\ \"identifiers\": [\"py-otgw-mqtt\", \"py-otgw-mqtt-da39a3ee5e6b4b0d3255bfef95601890afd80abf\"\
]\n }\n}\n"
retain: false
mode: single
create_solar_sensors:
alias: Create solar sensors
sequence:
- service: mqtt.publish
data:
topic: homeassistant/sensor/epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fab/solar_panel_voltage/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"Solar panel voltage\"\
,\n \"unique_id\": \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fab_sensor_solar_panel_voltage\"\
,\n \"unit_of_measurement\": \"V\",\n \"value_template\": \"{{ \"{{ value_json\
\ | float/100}}\" }}\",\n \"state_topic\": \"homie/epsolar/epsolarsensor/solar-voltage\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"EPSOLAR\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"epsolar\"\
, \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fab\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fac/solar_panel_current/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"Solar panel current\"\
,\n \"unique_id\": \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fac_sensor_solar_panel_current\"\
,\n \"unit_of_measurement\": \"A\",\n \"value_template\": \"{{ \"{{ value_json\
\ | float/100}}\" }}\",\n \"state_topic\": \"homie/epsolar/epsolarsensor/solar-current\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"EPSOLAR\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"epsolar\"\
, \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fac\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fad/solar_panel_power/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"Solar panel power\",\n\
\ \"unique_id\": \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fad_sensor_solar_panel_power\"\
,\n \"unit_of_measurement\": \"W\",\n \"value_template\": \"{{ \"{{ value_json\
\ | float/100}}\" }}\",\n \"state_topic\": \"homie/epsolar/epsolarsensor/solar-power\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"EPSOLAR\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"epsolar\"\
, \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fad\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fba/load_voltage/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"Load voltage\",\n \"\
unique_id\": \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fba_sensor_load_voltage\"\
,\n \"unit_of_measurement\": \"V\",\n \"value_template\": \"{{ \"{{ value_json\
\ | float/100}}\" }}\",\n \"state_topic\": \"homie/epsolar/epsolarsensor/load-voltage\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"EPSOLAR\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"epsolar\"\
, \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fba\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fbb/load_current/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"Load current\",\n \"\
unique_id\": \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fbb_sensor_load_current\"\
,\n \"unit_of_measurement\": \"V\",\n \"value_template\": \"{{ \"{{ value_json\
\ | float/100}}\" }}\",\n \"state_topic\": \"homie/epsolar/epsolarsensor/load-current\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"EPSOLAR\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"epsolar\"\
, \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fbb\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fbc/load_power/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"Load power\",\n \"unique_id\"\
: \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fbc_sensor_load_power\",\n\
\ \"unit_of_measurement\": \"W\",\n \"value_template\": \"{{ \"{{ value_json\
\ | float/100}}\" }}\",\n \"state_topic\": \"homie/epsolar/epsolarsensor/load-power\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"EPSOLAR\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"epsolar\"\
, \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fbc\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fca/battery_voltage/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"Battery voltage\",\n \
\ \"unique_id\": \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fca_sensor_battery_voltage\"\
,\n \"unit_of_measurement\": \"V\",\n \"value_template\": \"{{ \"{{ value_json\
\ | float/100}}\" }}\",\n \"state_topic\": \"homie/epsolar/epsolarsensor/battery-voltage\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"EPSOLAR\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"epsolar\"\
, \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fca\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fcb/battery_current/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"Battery current\",\n \
\ \"unique_id\": \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fcb_sensor_battery_current\"\
,\n \"unit_of_measurement\": \"A\",\n \"value_template\": \"{{ \"{{ value_json\
\ | float/100}}\" }}\",\n \"state_topic\": \"homie/epsolar/epsolarsensor/battery-current\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"EPSOLAR\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"epsolar\"\
, \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fcb\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fcc/battery_percentage/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"Battery percentage\",\n\
\ \"unique_id\": \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fcc_sensor_battery_percentage\"\
,\n \"unit_of_measurement\": \"%\",\n \"state_topic\": \"homie/epsolar/epsolarsensor/battery-level\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"EPSOLAR\",\n \"model\": \"v2.0\",\n \"identifiers\": [\"epsolar\"\
, \"epsolar-da39a3ee5e6b4b0d3255bfef95601890afd80fcc\"]\n }\n}\n"
retain: false
mode: single
create_esp8266_sensors:
alias: Create ESP8266 sensors
sequence:
- service: mqtt.publish
data:
topic: homeassistant/sensor/esp8266-da39a3ee5e6b4b0d3255bfef95601890afd80eaa/sensor_relay_wifi/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"Relay Wifi\",\n \"unique_id\"\
: \"esp8266-da39a3ee5e6b4b0d3255bfef95601890afd80eaa_sensor_relay_wifi\",\n\
\ \"unit_of_measurement\": \"%\",\n \"state_topic\": \"homie/relay-controller/$stats/signal\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"ESP8622\",\n \"model\": \"v1.0\",\n \"identifiers\": [\"esp8266\"\
, \"esp8266-da39a3ee5e6b4b0d3255bfef95601890afd80eaa\"]\n }\n}\n"
retain: false
- service: mqtt.publish
data:
topic: homeassistant/sensor/esp8266-da39a3ee5e6b4b0d3255bfef95601890afd80eab/sensor_epsolar_wifi/config
payload: "{\n \"platform\": \"mqtt\",\n \"name\": \"EPSolar Wifi\", \n \"\
unique_id\": \"esp8266-da39a3ee5e6b4b0d3255bfef95601890afd80eab_sensor_epsolar_wifi\"\
,\n \"unit_of_measurement\": \"%\",\n \"state_topic\": \"homie/epsolar/$stats/signal\"\
,\n \"device\": {\n \"manufacturer\": \"Alistair\",\n \"name\"\
: \"ESP8622\",\n \"model\": \"v1.0\",\n \"identifiers\": [\"esp8266\"\
, \"esp8266-da39a3ee5e6b4b0d3255bfef95601890afd80eab\"]\n }\n}\n"
retain: false
mode: single
wake_media_server:
alias: Wake media server
sequence:
- service: wake_on_lan.send_magic_packet
data:
broadcast_address: 192.168.247.255
mac: 00:27:0e:04:bb:4f
mode: parallel
max: 10
icon: mdi:music
play_r4_squeezebox_radio:
sequence:
- service: media_player.turn_on
target:
entity_id: media_player.squeezebox_radio
- service: media_player.volume_set
target:
entity_id: media_player.squeezebox_radio
data:
volume_level: 0.22
- service: media_player.play_media
target:
entity_id: media_player.squeezebox_radio
data:
media_content_id: sounds://_LIVE_bbc_radio_fourfm
media_content_type: music
mode: single
alias: Play R4 Squeezebox radio
icon: mdi:music
play_r4_squeezebox_radio_off:
alias: Play R4 Squeezebox radio off
sequence:
- service: media_player.turn_off
target:
entity_id: media_player.squeezebox_radio
mode: single
icon: mdi:music-off