Track hours of use and Energy cost

Hi there,
I’m pretty neewby on hassio, so I would love to use some of your knowledge :heart: .

To heat my house I’m using a mix of old style air conditioner (samsung, so I have full access to cloud api) and underfloor heating using gas.
I’m doing my best to optimize the cost of energy using both sources based on when they are the cheapest.

Now I would love to have an idea of how much money it costs me to heat my house during the winter so I’m trying to build a sensor (or entities) that can track in € the daily cost of heating.

Consider that I have a sensor that can track Kwh use with the air conditioner and I know how much gas I use for 1h of gas heating. Basically I have all the data but I do not know how to combine them in something that make sense.

Any good idea of how I should start this project? Did any of you have similar goal?

Best,
Antonio

There’s no guide for that. No simple way to configure. I would imagine it could be a Helper that you create. I tried creating kwH helper and connecting that to energy monitor. In my case it’s off peak / on peak and It’s a mystery how to put that together , probably using time periods and costs.

But the Energy feature has been out for a long time. So people must be using it. How they find out how to configure it all together? Is there some guide that I missed?