-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsampledash.yaml
32 lines (32 loc) · 906 Bytes
/
sampledash.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
views:
- title: Home
cards:
- square: false
columns: 1
type: grid
cards:
- type: custom:apexcharts-card
graph_span: 36h
apex_config:
tooltip:
enabled: true
followCursor: true
x:
show: false
span:
start: hour
header:
show: true
show_states: true
colorize_states: true
series:
- entity: sensor.coopernico_prices
type: column
float_precision: 3
data_generator: |
return entity.attributes.Prices.map((record,index) => {
return [record.readingDate, record.price];
});
yaxis:
- decimals: 3
min: ~0