Skip to content

Binary order flipping #62

Answered by aburow
aburow asked this question in Q&A
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: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dbuezas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant