Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't retrieve long-term statistics data #697

Open
cooltings opened this issue May 5, 2024 · 1 comment
Open

Can't retrieve long-term statistics data #697

cooltings opened this issue May 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cooltings
Copy link

Checklist

  • [X ] I updated the card to the latest version available
  • [X ] I cleared the cache of my browser
  • [X ] I verified that I'm really running the lastest version in my browser console
  • [X ] I checked if there is another issue opened with the same problem

Describe the bug
A clear and concise description of what the bug is.

I have some long term statistics energy data that apexcgarts-card cannot seem to access.
It just displays nothing after data switches to long term statistics:
Screenshot 2024-05-05 at 14 47 27
Screenshot 2024-05-05 at 14 53 04

Version of the card
Version: 2.0.4

To Reproduce
This is the configuration I used:

type: custom:apexcharts-card
stacked: true
span:
  end: day
  offset: '-10day'
header:
  show: true
  title: ApexCharts-Card
  show_states: true
  colorize_states: true
series:
  - entity: sensor.vue_2_0_123_1min
    type: column
    group_by:
      func: avg
      duration: 120min
    color: lightblue
    statistics:
      period: 5minute

Screenshots
If applicable, add screenshots to help explain your problem.

Expected behavior
A clear and concise description of what you expected to happen.
Another bar would appear to the left of the arrow drawn above
Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Safari - Latest

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@cooltings cooltings added the bug Something isn't working label May 5, 2024
@midadami
Copy link

Works fine for me using:
statistics:
type: mean

Your period prob too low

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants