Aha! How to define the device_class: energy for a riemann integration sensor?
“…if the source entity has a “power” device_class, the integrated entity will automatically have the “energy” device_class.”
1 Like