virtualdj / pun_sensor

Prezzi PUN del mese - Home Assistant Integration
MIT License
84 stars 15 forks source link

Retail electricity price approach? #10

Closed Ocramius closed 1 year ago

Ocramius commented 1 year ago

Hello! I just tried out your most excellent integration, and it absolutely does its work.

I noticed that the computed prices are the supplier/bulk ones (PUN, after all).

I was wondering if there is a way to compute actual retail prices, or at least provide documentation for doing that 🤔

Is the Italian electricity grid relatively regulated on that, or is there no possibility to perform such a computation, other than asking each retailer individually?

Thanks in advance!

virtualdj commented 1 year ago

Is the Italian electricity grid relatively regulated on that

Partially, because there's also the supplier increment that varies.

I was wondering if there is a way to compute actual retail prices, or at least provide documentation for doing that

You can create a template sensor that adds the taxes, fixed costs and supplier cost. You can find and example here: https://github.com/virtualdj/pun_sensor/issues/6#issuecomment-1492291083.

Ocramius commented 1 year ago

Perfect, opened #11 with a proposal to improve the docs accordingly :-)