MTrab / energidataservice

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

Bug : Incorrect afgift #623

Open stauffenberg2020 opened 3 weeks ago

stauffenberg2020 commented 3 weeks 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 3 weeks 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 3 weeks 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 3 weeks ago

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