Energy Management in Home Assistant

I am doing this with a long floating point number.

See this post