dbuezas / lovelace-plotly-graph-card

Highly customisable Lovelace card to plot interactive graphs. Brings scrolling, zooming, and much more!
411 stars 20 forks source link

Range of data not updating when zooming out #350

Closed Kroonos closed 10 months ago

Kroonos commented 10 months ago

Describe the bug the range of the data doesn't update when zooming out. it 's stuck on the "hours to show" range

Screenshots Screenshot_20240104-100803

yaml

type: custom:plotly-graph
entities:
  - entity: sun.sun
hours_to_show: 24
refresh_interval: 10

Additional context

dbuezas commented 10 months ago

Does it happen with other entities? sun.sun doesn't even work for me

Kroonos commented 10 months ago

yes, every entities have the same behavior. Screenshot_20240104-143913

the data appears if I put a big "hours to show" number Screenshot_20240104-144210

dbuezas commented 10 months ago

That's really weird. I haven't updated Home Assistant yet, I'll try to reproduce the issue after that

Kroonos commented 10 months ago

seems like I cannot reproduce this bug anymore after updating to 2024.1.2