forked from rgc99/irrigation_unlimited
-
Notifications
You must be signed in to change notification settings - Fork 0
/
my_dashboard.yaml
278 lines (278 loc) · 10.5 KB
/
my_dashboard.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
- title: Irrigation
path: irrigation
panel: false
theme: ''
badges: []
cards:
- type: vertical-stack
cards:
- type: 'custom:mini-graph-card'
name: Rainfall 5 Days
entities:
- entity: sensor.wupws_preciptotal
name: Current
aggregate_func: max
- entity: sensor.irrigation_unlimited_rain_weighted_total
name: Weighted total
aggregate_func: min
y_axis: secondary
hours_to_show: 144
group_by: date
lower_bound: 0
decimals: 1
show:
labels: true
labels_secondary: true
- type: 'custom:mini-graph-card'
name: Temperature 5 Days
entities:
- entity: sensor.wupws_temp
aggregate_func: max
name: Actual Max
- entity: sensor.wentworth_falls_temp_max_0
aggregate_func: avg
name: Forecast Max
- entity: sensor.wupws_temp
aggregate_func: min
name: Min
- entity: sensor.wupws_temp
aggregate_func: avg
name: Avg
group_by: date
hours_to_show: 144
decimals: 1
show:
labels: true
- type: 'custom:mini-graph-card'
name: Watering Last 7 Days
icon: 'mdi:sprinkler-variant'
entities:
- entity: binary_sensor.irrigation_unlimited_c1_z1
attribute: today_total
- entity: binary_sensor.irrigation_unlimited_c1_z2
attribute: today_total
show:
graph: bar
labels: true
unit: min
aggregate_func: max
hours_to_show: 168
group_by: date
lower_bound: 0
- type: vertical-stack
cards:
- type: entities
entities:
- type: 'custom:fold-entity-row'
style:
.: |
div#head {
--toggle-icon-width: 24px;
}
head:
type: 'custom:multiple-entity-row'
entity: binary_sensor.irrigation_unlimited_c1_m
state_header: Status
state_color: true
entities:
- attribute: current_duration
name: Duration
hide_unavailable: true
- attribute: time_remaining
name: Remaining
hide_unavailable: true
- attribute: percent_complete
name: Complete
unit: '%'
secondary_info:
attribute: current_name
hide_unavailable: true
padding: 20
entities:
- type: 'custom:multiple-entity-row'
entity: binary_sensor.irrigation_unlimited_c1_m
name: Enabled
icon: 'mdi:sprinkler'
show_state: false
secondary_info:
attribute: enabled
tap_action:
action: call-service
service: irrigation_unlimited.toggle
service_data:
entity_id: binary_sensor.irrigation_unlimited_c1_m
entities:
- attribute: zone_count
name: Zones
- type: 'custom:multiple-entity-row'
entity: binary_sensor.irrigation_unlimited_c1_m
name: Next
icon: 'mdi:clock-start'
show_state: false
secondary_info:
attribute: next_name
hide_unavailable: true
entities:
- attribute: next_start
name: Start
hide_unavailable: true
format: datetime
- attribute: next_duration
name: Duration
hide_unavailable: true
- type: divider
- type: 'custom:fold-entity-row'
style:
.: |
div#head {
--toggle-icon-width: 24px;
}
head:
type: 'custom:multiple-entity-row'
entity: binary_sensor.irrigation_unlimited_c1_z1
state_header: Status
state_color: true
entities:
- attribute: current_duration
name: Duration
hide_unavailable: true
- attribute: time_remaining
name: Remaining
hide_unavailable: true
- attribute: percent_complete
name: Complete
unit: '%'
secondary_info:
attribute: current_name
hide_unavailable: true
padding: 20
entities:
- type: 'custom:multiple-entity-row'
entity: binary_sensor.irrigation_unlimited_c1_z1
name: Enabled
icon: 'mdi:sprinkler'
show_state: false
secondary_info:
attribute: enabled
tap_action:
action: call-service
service: irrigation_unlimited.toggle
service_data:
entity_id: binary_sensor.irrigation_unlimited_c1_z1
entities:
- attribute: adjustment
name: Adjustment
- attribute: schedule_count
name: Schedules
- type: 'custom:multiple-entity-row'
entity: binary_sensor.irrigation_unlimited_c1_z1
name: Next
icon: 'mdi:clock-start'
show_state: false
secondary_info:
attribute: next_name
hide_unavailable: true
entities:
- attribute: next_start
name: Start
hide_unavailable: true
format: datetime
- attribute: next_duration
name: Duration
hide_unavailable: true
- type: 'custom:logbook-card'
entity: binary_sensor.irrigation_unlimited_c1_z1
title: History
attributes:
- value: current_name
label: Schedule
- value: adjustment
label: Adjustment
history: 5
collapse: 2
show:
separator: true
hiddenState:
- 'off'
- type: divider
- type: 'custom:fold-entity-row'
style:
.: |
div#head {
--toggle-icon-width: 24px;
}
head:
type: 'custom:multiple-entity-row'
entity: binary_sensor.irrigation_unlimited_c1_z2
state_header: Status
state_color: true
entities:
- attribute: current_duration
name: Duration
hide_unavailable: true
- attribute: time_remaining
name: Remaining
hide_unavailable: true
- attribute: percent_complete
name: Complete
unit: '%'
secondary_info:
attribute: current_name
hide_unavailable: true
padding: 20
entities:
- type: 'custom:multiple-entity-row'
entity: binary_sensor.irrigation_unlimited_c1_z2
name: Enabled
icon: 'mdi:sprinkler'
show_state: false
secondary_info:
attribute: enabled
tap_action:
action: call-service
service: irrigation_unlimited.toggle
service_data:
entity_id: binary_sensor.irrigation_unlimited_c1_z2
entities:
- attribute: adjustment
name: Adjustment
- attribute: schedule_count
name: Schedules
- type: 'custom:multiple-entity-row'
entity: binary_sensor.irrigation_unlimited_c1_z2
name: Next
icon: 'mdi:clock-start'
show_state: false
secondary_info:
attribute: next_name
hide_unavailable: true
entities:
- attribute: next_start
name: Start
hide_unavailable: true
format: datetime
- attribute: next_duration
name: Duration
hide_unavailable: true
- type: 'custom:logbook-card'
entity: binary_sensor.irrigation_unlimited_c1_z2
title: History
attributes:
- value: current_name
label: Schedule
- value: adjustment
label: Adjustment
history: 5
collapse: 2
show:
separator: true
hiddenState:
- 'off'
- type: vertical-stack
cards:
- type: logbook
entities:
- binary_sensor.irrigation_unlimited_c1_z1
- binary_sensor.irrigation_unlimited_c1_z2
hours_to_show: 144
title: History