Closed AkshayRao27 closed 6 months ago
You have to configure your taxes and surcharges as described in the Net Price Sensor chapter: https://github.com/mampfes/ha_epex_spot?tab=readme-ov-file#1-net-market-price-sensor
According to smartENERGY, the prices reported by the API already include 20% tax
That is wrong, even though they say it on their website. The provided price from smartENERGY is without tax. It's the same as on the EPEX Spot website. You have to add a surcharge of 1,2ct and then 20% tax. That gives you the 1,44ct (1,2×1,2) surcharge that you really pay to smartENERGY.
Okay, that fixes it. I guess the ticket can be closed - might be a good idea to mention this in the documentation somewhere 😉
I already mentioned this to smartENERGY
I already mentioned this to smartENERGY
Their reply (translated): "As you can set the prices in the API yourself, they can also be shown including tax. Our description is therefore a matter of setting, depending on the configuration."
There’s a mismatch between the current price shown on the smartENERGY website and what the sensor calculates.
As of time of writing, the electricity price is ¢8.55 according to the website, and my sensor shows ¢8.842 (¢1.44 surcharge and 20% tax).
The smartENERGY API entry for right now says ¢7.114 which is exactly ¢1.44 short of what their website says.
No matter how I configure the integration, I cannot seem to reach this value. If I include both tax and surcharge, the sensor over reports (current config). If I include just the surcharge but 0% tax, then it under reports.
According to smartENERGY, the prices reported by the API already include 20% tax, so the sensor needs to simply add a static ¢1.44 (the current surcharge) to every price value from the API.