-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdaily_total_VT_MT.yaml
128 lines (126 loc) · 2.38 KB
/
daily_total_VT_MT.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
type: custom:apexcharts-card
card_mod:
style: |
ha-card .apexcharts-gridlines-horizontal{
transform: scaleX(0.90);
}
ha-card .apexcharts-grid{
transform: translate(14px, 0px);
overflow:hidden !important;
}
ha-card .apexcharts-xcrosshairs{
transform: translate(0px, 0px);
}
ha-card {
overflow:visible !important;
}
ha-card .apexcharts-tooltip{
border-radius: 0px;
border: 0 !important;
box-shadow: unset;
}
ha-card .apexcharts-legend{
display: none;
}
apex_config:
dataLabels:
enabled: true
offsetY: -8
style:
fontSize: 10px
fontFamily: SegoeUI
background:
enabled: false
tooltip:
filter: (tooltipItem) => tooltipItem.raw > 0
x:
format: dddd, d MMMM
enabled: true
followCursor: true
fixed:
enabled: true
position: topleft
offsetY: 180
items:
display: flex
plotOptions:
bar:
borderRadius: 3
borderRadiusApplication: end
borderRadiusWhenStacked: last
columnWidth: 98%
stroke:
colors: transperent
xaxis:
floating: true
labels:
show: false
axisTicks:
show: false
axisBorder:
show: false
tooltip:
enabled: false
crosshairs:
show: true
width: 25
position: front
opacity: 0.2
yaxis:
min: 0
decimals: 2
tickAmount: 2
floating: true
labels:
show: true
offsetX: 31
offsetY: -6
grid:
strokeDashArray: 2
borderColor: '#666666'
padding:
left: 0
right: 0
chart:
stacked: true
height: 180px
animations:
enabled: false
graph_span: 14day
hours_12: false
show:
loading: false
cache: true
span:
end: day
offset: '-2day'
color_list:
- '#335272'
- var(--paper-item-icon-active-color)
update_interval: 1hour
series:
- entity: sensor.mojelektro_daily_input_peak
name: VT
type: column
float_precision: 2
show:
legend_value: false
offset_in_name: false
statistics:
type: state
period: day
align: start
offset: +1day
- entity: sensor.mojelektro_daily_input_offpeak
name: MT
type: column
float_precision: 2
show:
datalabels: total
legend_value: false
offset_in_name: false
statistics:
type: state
period: day
align: start
offset: +1day