Hi,
I’m interested in using the latest energy dashboard.
I have Shelly EM monitoring home consumption and production to the grid, and that’s fine.
I also have a ABB inverter for solar panel, from which I read produced energy and instant power using an AppDaemon script that send data through mqtt to 2 sensor (I know that it may be over-engineering, but that what it is for now).
Produced energy read from the inverter is 100% correct, so I’d like to use that in the energy dashboard.
I’ve added attributes last_reset and device_class to the mqtt sensor, but it does not show in the energy management page.
Could you please tell how you did solve it? I have several sensor entities from modbus in W. Using Integration - Riemann sum integral - Home Assistant I can turn them into state_class: measurement, but it didn’t work as the device_class: energy is still missing:
Sensor entities are not allowed having device_class: energy.