Untitled
unknown
plain_text
10 months ago
1.3 kB
16
Indexable
type: custom:apexcharts-card
graph_span: 14d
update_interval: 10min
apex_config:
enabled: true
autoScaleYaxis: true
yaxis:
- id: first
apex_config:
labels:
formatter: |
EVAL:function (val) {
return parseFloat(val).toFixed(2).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".") + " %" ;
}
- id: second
opposite: true
apex_config:
labels:
formatter: |
EVAL:function (val) {
return parseFloat(val).toFixed(1).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".") + " °" ;
}
series:
- entity: sensor.pdc_cop
stroke_width: 2
yaxis_id: first
name: COP
fill_raw: "null"
type: column
color: red
float_precision: 2
statistics:
type: mean
period: day
align: start
group_by:
func: avg
fill: "null"
duration: 1day
show:
legend_value: false
- entity: sensor.ca350_outside_temperature
name: Temperatura
type: area
fill_raw: last
stroke_width: 2
yaxis_id: second
color: green
float_precision: 0
statistics:
type: mean
period: day
align: start
group_by:
func: avg
fill: zero
duration: 1day
show:
legend_value: false
Editor is loading...
Leave a Comment