Skip to content

Binary order flipping #62

Answered by aburow
aburow asked this question in Q&A
Aug 2, 2022 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

Noted another person having issues with fixedrange and noted they had additional range values in the mix. This prompted me to give the range directive a try with upper and lower values of on and off in top down order on the graph.

These values need to be in the correct order in order to display as expected.

type: custom:plotly-graph
entities:
  - entity: binary_sensor.kitties_occupancy
  - entity: fan.pet_fan
hours_to_show: 12
refresh_interval: 10
layout:
  height: 400
  dragmode: pan
  yaxis:
    range:
      - 'on'
      - 'off'

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Tommatheussen
Comment options

Answer selected by dbuezas
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@aburow
Comment options

@Tommatheussen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants