flixlix / energy-period-selector-plus

An upgraded Energy Date Selection Card for Home Assistant, with added customizability, while maintaining the Energy Dashboard's original design.
63 stars 5 forks source link

[BUG] Graphs not shown when using Mozilla Firefox #15

Closed Nitrouze closed 1 year ago

Nitrouze commented 1 year ago

Describe the bug Hi, It seems there's a incompatibilty with Mozilla Firefox which shows empty graphs on,at least, some Apple plateform (MacOS, IOS...).

To Reproduce Steps to reproduce the behavior:

  1. Create a fresh dashboard like this ...
    views:
    • title: Home cards:
      • type: custom:energy-period-selector-plus
      • type: energy-usage-graph
  2. Check result with different web browser
  3. Both, Mozilla Firefox on MAC OS and Mozilla Firefox on iPhone are showing empty graphs.
  4. Other web browser i've tested are working fine (ie: Safari on MacOS, Homeassitant mobile application on iPhone ...)

Expected behavior Graphs should be dispayed by Mozilla Firefox

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context I've cleared the cache on all browsers several times but it does not change the behaviour.

Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.

Nitrouze commented 1 year ago

Maybe I was too fast posting this bug report.

I had to wait around 30mins without editing the dashboard and then graphs shows up normally. I assume there is a delay after editing a dashboard before Firefox loads the data.