#Shelly EM Gen 3 add to Grid Consumption

1 messages · Page 1 of 1 (latest)

river quest
#

Hi,

I'm trying to add a Shelly EM Gen 3 em0_power sensor to the Grid Consumption, and it does not appear.
I checked the documentation and it should appear only sensors with device_class: energy, and this sensor is being classified as device_class: power.

Is this a bug, or it is expected?

Best regards

tawny kindle
#

It's expected. You need an energy sensor for the energy dashboard. Shelly probably provides that one as well.

river quest
#

That odd because that's what that device is for, I guess I need the older generation one

versed depot
#

Check if it has a disabled sensor by default. If device doesn't report energy you could easily create it with a riemann sum helper.

river quest
#

in the Selly app it reports, and in the sensor in the integration too, the problem is the device_class that is classified as power

#

and from the Home Assistant documentation, only device_class: energy sensors are available for Grid Consumption

fallen bobcat
#

Can you show which entities your device has available?

river quest
#

Sure, here it goes

#

From what I read in the documentation, the problem is here

#

at some point says
"device_class must be energy for electricity grid, solar, or battery categories. It must be gas for gas, or water for water."

#

it is device_class: power

#

the older version Shelly EM, is slightly different

#

it has a device_class: energy sensor

fallen bobcat
fallen bobcat
river quest
fallen bobcat
river quest
#

yes

fallen bobcat
#

click enable

river quest
#

it worked!

#

Thank you very much

#

I don't know why is not enabled by default

#

I will replace the old one with the Gen 3, thanks!!!

fallen bobcat
#

yeah that's something the integration sets by default, not sure why it disables it