Hello,
if I’m using attached plotly configuration starting display 24 hours the y-axis is scaled from “off” at the buttom to “on”. So far so good.
But if I click on then “7d” button the direction of the y-axis changes! Now “on” is on the buttom.
How can I avoid this?
Regards
type: custom:plotly-graph
entities:
- entity: binary_sensor.hm_sec_sc_ubs_02_state
showlegend: false
line:
color: var(--secondary-color)
no_default_layout: false
defaults:
entity:
texttemplate: <b> %{y}</b> %{customdata.unit_of_measurement}
show_value:
right_margin: 14
line:
width: 1
yaxes:
fixedrange: false
layout:
height: 250
xaxis:
rangeselector:
'y': 0.96
buttons:
- count: 9
step: hour
- count: 1
step: day
- count: 7
step: day
- count: 10
step: day
title: Bad Fenster (on = Auf)
hours_to_show: 24
refresh_interval: 10