MTrab / energidataservice

Fetches spot prices from Energi Data Service
GNU General Public License v3.0
192 stars 27 forks source link

Incorrect afgift #623

Open stauffenberg2020 opened 1 month ago

stauffenberg2020 commented 1 month ago

Describe the issue

The reduced electricity tax (afgift) logic is probably not the best.

Expectation is the only the Electricity tax (afgift) part should be adjusted rather than the total value, So that one can clearly visualize that the raw electricity price nor the tariffs doesnt change, But only the Electricity tax (elafgift: 0.951) attribute should be updated.

What version of Home Assistant Core has the issue?

2024.10.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Diagnostics information

Bug lies in the core logic itself

Anything in the logs that might be useful for us?

No response

Additional information

No response

MTrab commented 1 month ago

Eh?! Guess you are talking about the wiki example?! It's only an example - the integration have no such support build in and hence it needs to be made by using the templates

stauffenberg2020 commented 1 month ago

Yes, I am talking about the example.

So, the question is - Don't you think this Integration should support this in-built?

MTrab commented 1 month ago

I don't see the need, but if someone makes a PR for this, go ahead ;)