forked from segalion/raspipool
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathui-lovelace.yaml
314 lines (313 loc) · 9.77 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
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
title: Raspipool
views:
- badges:
- sensor.exterior_temperature
- sensor.e_fc
- sensor.cycle_pool
- sensor.exterior_condition
title: Pool
panel: false
icon: 'mdi:pool'
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- max: 35
min: 15
theme: Backend-selected
entity: sensor.pool_water_temperature
severity:
green: 27
red: 33
yellow: 31
name: temp
type: gauge
- max: 8
min: 6.5
theme: Backend-selected
entity: sensor.ph_mean
severity:
green: 6.95
red: 7.75
yellow: 7.35
name: ph
type: gauge
- max: 1999
min: -1999
theme: Backend-selected
entity: sensor.orp_mean
severity:
green: 650
red: 800
yellow: 600
name: orp
type: gauge
- show_name: false
entities:
- entity: sensor.pool_water_temperature
hold_action:
action: call-service
service: homeassistant.update_entity
service_data:
entity_id: sensor.pool_water_temperature
- entity: sensor.ezo_ph
hold_action:
action: call-service
service: homeassistant.update_entity
service_data:
entity_id: sensor.ezo_ph
- entity: sensor.ezo_orp
hold_action:
action: call-service
service: homeassistant.update_entity
service_data:
entity_id: sensor.ezo_orp
type: glance
show_state: true
- title: Supplies
type: horizontal-stack
cards:
- max: 20
min: 0
theme: default
entity: sensor.remain_cycles
severity:
green: 15
red: 5
yellow: 10
name: remain cycles
type: gauge
- max: 10
min: 0
theme: default
entity: sensor.muriatic_tank
severity:
green: 5
red: 1
yellow: 3
type: gauge
- max: 15
min: 0
theme: default
entity: sensor.bleach_tank
severity:
green: 8
red: 0
yellow: 3
type: gauge
- show_name: true
entities:
- entity: switch.pump
hold_action:
action: toggle
- entity: switch.turbo
hold_action:
action: toggle
- entity: binary_sensor.muriatic
hold_action:
action: call-service
service: switch.toggle
service_data:
entity_id: switch.ph
tap_action:
action: navigate
navigation_path: /lovelace/2
- entity: binary_sensor.bleach
hold_action:
action: call-service
service: switch.toggle
service_data:
entity_id: switch.orp
tap_action:
action: navigate
navigation_path: /lovelace/2
type: glance
show_state: false
show_icon: true
- badges: []
title: History
panel: true
icon: 'mdi:chart-line'
cards:
- type: horizontal-stack
cards:
- title: last 3 hours
entities:
- entity: sensor.pump_state
- entity: switch.orp
name: Bleach inj.
- entity: switch.ph
name: Muriatic inj.
- entity: sensor.ph_mean
name: pH
- entity: sensor.orp_mean
name: ORP
- entity: sensor.pool_water_temperature
name: water temp.
type: history-graph
hours_to_show: 3
- title: last 3 days
entities:
- entity: sensor.pump_state
- entity: switch.orp
name: Bleach inj.
- entity: switch.ph
name: Muriatic inj.
- entity: sensor.ph_mean
name: pH
- entity: sensor.orp_mean
name: ORP
- entity: sensor.pool_water_temperature
name: water temp.
type: history-graph
hours_to_show: 72
- badges: []
title: Chemical
panel: true
icon: 'mdi:flask'
cards:
- type: horizontal-stack
cards:
- entities:
- label: Muriatic ( - pH )
type: section
- entity: input_number.muriatic_tank
name: Tank level
- entity: input_number.muriatic_concentration
name: Concentration
- entity: input_number.muriatic_speed
name: Speed injection
- entity: switch.ph
name: Pump injection
secondary_info: last-changed
- entity: input_boolean.lock_muriatic
name: Lock Pump
type: entities
show_header_toggle: false
- entities:
- label: Bleach ( + ORP )
type: section
- entity: input_number.bleach_tank
name: Tank level
- entity: input_number.bleach_concentration
name: Concentration
- entity: input_number.bleach_speed
name: Speed injection
- entity: switch.orp
name: Pump injection
secondary_info: last-changed
- entity: input_boolean.lock_bleach
name: Lock Pump
type: entities
show_header_toggle: false
- badges: []
path: default_view
icon: 'mdi:message-alert'
title: Alerts
cards:
- title: Notifications
entities:
- entity: input_number.notify_cycles
- entity: input_boolean.notify_seasson
- entity: input_number.notify_muriatic_high
- entity: input_number.notify_muriatic_tank
- entity: input_number.notify_bleach_tank
- entity: input_number.notify_bleach_high
type: entities
show_header_toggle: true
- badges: []
title: Settings
icon: 'mdi:tune'
cards:
- title: Pool Settings
entities:
- label: Pool
type: section
- entity: input_number.capacity
name: Capacity
- entity: input_number.quality
name: Quality
- entity: input_datetime.recirculation
name: Turnover rate
- entity: input_boolean.turbo
- entity: input_number.turbo
- label: Filter
type: section
- entity: input_datetime.cycle_start
- entity: input_number.second_cycle
- entity: sensor.cycle_pool
- entity: input_number.cycle
type: entities
show_header_toggle: false
theme: default
- title: Chemical settings
entities:
- label: Free Chlorine (FC)
type: section
- entity: input_number.fc_target
name: FC target
- entity: sensor.e_fc
name: FC actual
- entity: input_number.bleach_inject
name: Next bleach injection (ml)
- entity: input_number.e_fc_adjust
name: Adjust ±% FC-ORP
- label: pH
type: section
- entity: input_number.ph_target
name: pH target
- entity: sensor.ph_mean
name: pH actual
- entity: input_number.muriatic_inject
name: Next muriatic injection (ml)
type: entities
show_header_toggle: false
- badges:
- sun.sun
- sensor.time
- sensor.cycle_pool
- input_number.out_of_order
title: Advanced
icon: 'mdi:settings'
cards:
- type: horizontal-stack
cards:
- icon_height: 64px
type: entity-button
tap_action:
action: none
entity: input_number.out_of_order
show_name: true
name: Maintenance
show_icon: true
hold_action:
action: more-info
- icon_height: 64px
type: entity-button
tap_action:
action: more-info
entity: input_datetime.cummulated_flow_start
show_name: true
name: Reset Cumm. Flow
show_icon: true
hold_action:
action: call-service
service: automation.trigger
service_data:
entity_id: automation.reset_cummulated_flow_start
- icon_height: 64px
type: entity-button
tap_action:
action: none
entity: input_number.pump_on_for
show_name: true
name: Filter for ...
show_icon: true
hold_action:
action: more-info
- entities:
- entity: input_datetime.cummulated_flow_start
- entity: sensor.cummulated_flow_high
- entity: sensor.cummulated_flow_low
type: entities