I have a Shelly EM with one clamp on the grid connection and one clamp on my solar inverter output. They work as expected in the “Electricity usage” graph, but not in the new “Power sources” graph:
The grid power is shown in blue, while the solar power is zero (see the small yellow segment on the axis around 10:00).
The “grid” clamp is configured as follows:
The Shelly integration proposes both “Energy” and “Energy returned” entities, but there is only a single “Power” entity (no “Power returned”) to choose from. I would expect “Power” to be negative (produced and not consumed) but it does not seem to be the case.
I had to create a manual entity via the template integration, which turns the negative values from Shelly positiv (absolute). Since then the values turn up within the Energy Dashboard.