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

Entity with "state_class: total_increasing" and "device_class: energy" not appearing in energy dashboard #89739

Closed
MatteGary opened this issue Mar 15, 2023 · 1 comment

Comments

@MatteGary
Copy link
Contributor

The problem

Hi,
using the ha-abb-powerone-pvi-sunspec custom component, I have a device with a series of entity that are retrieved from my inverter. Those entities show the correct values from the inverter.
One of them is the Total Energy Produced, and it has these attributes

state_class: total_increasing
unit_of_measurement: Wh
device_class: energy
icon: mdi:solar-power
friendly_name: ABBInverter (Total Energy)

Even if it looks like it is configured correctly, it does not appear in the dropdown for Solar Production in the Energy Dashboard.
I already have the dashboard configured, with one "Solar Production" entity, but my goal is to change it and use this new one.
I already tried removing the current one from the dashboard, restart HA and other things, but nothing solved the issue.
No useful error is logged.

Hope someone can help me with this.
Thanks
Matte

What version of Home Assistant Core has the issue?

core-2023.3.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Energy

Link to integration documentation on our website

https://www.home-assistant.io/docs/energy

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@MatteGary
Copy link
Contributor Author

Found the issue, I didn't add it to the recorder.
My suggestion is to change this page https://www.home-assistant.io/more-info/statistics/ with some more information on how to debug this situations, like which attributes an entity should have, and that it must be added to the recorder.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant