lovelace-plotly-graph-card icon indicating copy to clipboard operation
lovelace-plotly-graph-card copied to clipboard

Fixed range for binary sensor include unknown value

Open Ivan-Firefly opened this issue 2 years ago • 0 comments

Hi there!

I'm trying to use ploty for showing graph for my binary open/close sensor. I fixed range with the following:

layout:
  yaxis:
    range:
      - 'off'
      - 'on'
    fixedrange: true

However, for the first day graph looked ok (only on and off values were shown), but now it shows me also "unknown" value: image

How could I avoid it?

Ivan-Firefly avatar Oct 19 '22 08:10 Ivan-Firefly