Some ThirdReality Zigbee plugs can't be used on energy dashboard anymore

I had a hard drive die in my Home Assistant install a few days ago. Got the replacement and got it installed and was able to perform a backup from about a year ago. Spent about 2 hours figuring out all my recent Zigbee smart plugs that I got to monitor all my power consumption and installed after the last backup so they didn't have any names or anything.

Now I'm trying to add them all to my energy dashboard to get those nice graphs I had a week ago and only about 1/2 of them are able to be added. I followed the link from the "add new device" screen on the energy dashboard here: Frequently Asked Questions about home energy management - Home Assistant but that doesn't really help me figure out why SOME plugs work just fine and OTHERS aren't available at all.

They all seem to have both Power and Summation delivered which seems to be the things in that FAQ that are required. I have tried pressing the "reconfigure" button on the device details page, and I've also tried removing a device entirely and re-adding it. In both cases it seems to show up fine with the correct details on the details page. But again when going to try and add it on the energy page, it's just not available anymore.

Anyone have any ideas what's going on here? I'm super confused.

Those things are not what is mentioned as required in the FAQ. The important thing is that your energy entities for those plugs contain device_class, state_class & unit_of_measurement.

Go to the Dev Tools page & compare the attributes for the energy entity of a visible device vs an invisible device. Most likely the invisible devices are missing one or more of the above attributes.

Thanks for the reply! Let's take for example my Big Fridge smart outlet. I'm trying to monitor both it's energy and power.

From the FAQ

  • device_class must be energy or power for electricity grid, solar, or battery categories. It must be gas for gas, or water for water.
  • state_class must be measurement for power sensors and total or total_increasing for all others.
  • The sensor must have an appropriate unit_of_measurement. See the help text for each category to see which units are accepted. Units containing an exponent must match superscript characters exactly.

Doesn't work:


I'm looking at this one and it sure seems like it's got all the data required as per the FAQ

device_class: energy
state_class: total_increasing
unit_of_measurement: kWh

Does work:


I'm struggling to tell the difference between the two. Very similar if not identical energy and power sections.

device_class: energy
state_class: total_increasing
unit_of_measurement: kWh

Maybe I'm missing something? I really can't tell what's going on here.

Also you can check developer-tools/statistics, and check for any statistics issues.

That was it! There were 8+ statistics issues that I was able to press the "fix" button on and they're showing up in the energy dashboard now.

Thanks very much for the help!