Until now there is not any solution.
There are pending change requests for that but no success from HA development team
There is even a PR !
The more we are to ask, the more we will get it
Phil
PS.
a workaround:
I defined my gas consumption in kWh as “solar energy”
and my gas consumption in m3 as “gas energy”
In the “Home” bubble, you get the sum.
I’m not fully satisfied with this solution: in the energy dashboard they are also superseded, and the scale of gass consumption (1) is much more than electricity (2), so the graphs become hard to read…