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

No statistics found. #54

Closed
Cyberes opened this issue Aug 19, 2024 · 1 comment
Closed

No statistics found. #54

Cyberes opened this issue Aug 19, 2024 · 1 comment

Comments

@Cyberes
Copy link

Cyberes commented Aug 19, 2024

Version of the custom_component

2.0.1

Describe the bug

When an entity from this component is added to a statistic graph, all stat types are grayed out and the graph displays No statistics found.

image

image

Adding this to extra_state_attributes seems to fix the issue:

'state_class': 'measurement'
@tcarwash
Copy link
Owner

Thanks for this, I'll take a look when I get some time

tcarwash added a commit that referenced this issue Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants