When you open up the energy dashboard settings in HA you will be greated with a message at the top about devices taking several hours to show up in the energy dashboard after being added to HA.
Thanks but that’s not how I understand the info in energy dashboard settings
it says “After setting up a new device, it can take up to 2 hours for new data to arrive in your energy dashboard.”
My problem is I wasn’t able to set up a new device in the energy dashboard - I understand that once a new device has been added to the energy dashboard it takes some time for it to start showing data.
I’m wondering if the issue was caused because the utility meter I set up probably didn’t change for several hours as there was no grid import - its state was showing as UNKNOWN. Once there was a bit of import (5 hours later) the sensor started showing data. It was then I could add it as a source in the energy dashboard. Just a hypothesis.
It’s working now so I’m leaving well alone! Thanks again for taking an interest
It is actually like that.
The energy dashboard needs to see the device actively reporting values for some time in order to be able to add it to the dashboard.
I found out what this issue is for all in the future. The device_class need to be device_class: energy then it shows up to be added. But this is not set untill data flows into the meter. So set it up and then wait for some data to come in (developer tools > check statistics if you need to) . Then check the developer tools > state and you should now see device_class: energy has been added.