Gas consumption on energy panel

Hello,

I have some scales to weight my gas bottles (I have 2 bottles, one scale on each one, one in use and other standby).
I’m currently seeing the weight of the bottles in HA, so I know when It’s near the end.
How can I convert the weight to some kind of form to show on energy panel?
I believe that the energy panel only accept m3 as measurement, and the weight also changes with temperature, even if you dont use it…
Anyone has found a way?

Thanks!

jS

Good question,
not sure if this is esphome related,
however, the energy dashboard works only using total_increasing.
Probably the gas bottle gets heavier when while more empty.

I think you need to create some additional sensors in HA. which only increase. So when your scale weight goes down, this sensor notices and just keeps increasing.
(I don’t have an example for you, where I live we have direct gas pipes to every house)

then here is the issue for m3, not sure if you can change that, and it’s not nice but if you know 1m3 actually is 1Kg or some other measure you should be able to work with that I guess.

Thanks for your thoughts.

I think I can make several helpers, one “general” sensor that increments, one selector to know what scale is in use, and invert so when the weight lowers it converts to some kind of unit that can be used as m3 to fit in the energy panel.
I don’t want to konw the exact m3 of gas I used, just want to know in that day I used more gas than other.
Maybe I can play with the “unused” bottle weight to compensate temperature variation…
Would like to have the thoughts from who actualy tried something, so I dont loose time make a new “wheel”…

Thanks,

jS