You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated the card to the latest version available
I cleared the cache of my browser
I verified that I'm really running the lastest version in my browser console
I checked if there is another issue opened with the same problem
Describe the bug
I have defined 6 stacked series on a first y-axis. As I wanted to display an additional information in the header (not in the chart), I have added a second y-axis with the follow series config :
- entity: sensor.conso_electrique_totale
type: line
yaxis_id: second
name: CUMUL JOUR
color: red
group_by:
func: diff
duration: 1d
start_with_last: true
fill: last
show:
in_header: true
in_chart: false
and with this extra series, the height of some of the series on the first axis is wrong. As you see, the series « Buanderie » should have a value of 0.8kWh, while the column value seems to be around 0.2kWh
Here is the code of the y-axis and series (note the the second series is for the workaround of the other bug I reported yesterday, to get the y-axis automatically scaled with all the stacked values and not only the biggest one) :
yaxis:
- id: first
min: 0
max: auto
decimals: 1
apex_config:
tickAmount: 5
- id: second
min: 0
max: auto
show: false
decimals: 1
apex_config:
tickAmount: 5
series:
- entity: sensor.conso_electrique_totale
type: line
yaxis_id: second
name: CUMUL JOUR
color: red
group_by:
func: diff
duration: 1d
start_with_last: true
fill: last
show:
in_header: true
in_chart: false
- entity: sensor.conso_electrique_totale
yaxis_id: first
name: CUMUL JOUR
color: yellow
show:
in_header: false
in_chart: false
- entity: sensor.conso_electrique_buanderie
yaxis_id: first
name: BUANDERIE
color: green
- entity: sensor.prise_congelateur_energy
yaxis_id: first
name: CONGÉLATEUR
color: dodgerblue
- entity: sensor.conso_electrique_multimedia
yaxis_id: first
name: MULTIMÉDIA
color: lime
- entity: sensor.chauffage_sdb_energy
yaxis_id: first
name: CHAUFF. SDB
color: tomato
- entity: sensor.pac_alixan_tank_accumulated_consumption
yaxis_id: first
name: EAU CHAUDE
color: pink
- entity: sensor.pac_alixan_heating_accumulated_consumption
yaxis_id: first
name: CHAUFF. PAC
color: grey
Version of the card
Version:
To Reproduce
This is the configuration I used:
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Checklist
Describe the bug
I have defined 6 stacked series on a first y-axis. As I wanted to display an additional information in the header (not in the chart), I have added a second y-axis with the follow series config :
- entity: sensor.conso_electrique_totale
type: line
yaxis_id: second
name: CUMUL JOUR
color: red
group_by:
func: diff
duration: 1d
start_with_last: true
fill: last
show:
in_header: true
in_chart: false
and with this extra series, the height of some of the series on the first axis is wrong. As you see, the series « Buanderie » should have a value of 0.8kWh, while the column value seems to be around 0.2kWh
Here is the code of the y-axis and series (note the the second series is for the workaround of the other bug I reported yesterday, to get the y-axis automatically scaled with all the stacked values and not only the biggest one) :
yaxis:
- id: first
min: 0
max: auto
decimals: 1
apex_config:
tickAmount: 5
- id: second
min: 0
max: auto
show: false
decimals: 1
apex_config:
tickAmount: 5
series:
- entity: sensor.conso_electrique_totale
type: line
yaxis_id: second
name: CUMUL JOUR
color: red
group_by:
func: diff
duration: 1d
start_with_last: true
fill: last
show:
in_header: true
in_chart: false
- entity: sensor.conso_electrique_totale
yaxis_id: first
name: CUMUL JOUR
color: yellow
show:
in_header: false
in_chart: false
- entity: sensor.conso_electrique_buanderie
yaxis_id: first
name: BUANDERIE
color: green
- entity: sensor.prise_congelateur_energy
yaxis_id: first
name: CONGÉLATEUR
color: dodgerblue
- entity: sensor.conso_electrique_multimedia
yaxis_id: first
name: MULTIMÉDIA
color: lime
- entity: sensor.chauffage_sdb_energy
yaxis_id: first
name: CHAUFF. SDB
color: tomato
- entity: sensor.pac_alixan_tank_accumulated_consumption
yaxis_id: first
name: EAU CHAUDE
color: pink
- entity: sensor.pac_alixan_heating_accumulated_consumption
yaxis_id: first
name: CHAUFF. PAC
color: grey
Version of the card
Version:
To Reproduce
This is the configuration I used:
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: