Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price in NOK for Oslo area is too low after latest release #51

Closed
mariwing opened this issue Feb 8, 2021 · 10 comments
Closed

Price in NOK for Oslo area is too low after latest release #51

mariwing opened this issue Feb 8, 2021 · 10 comments

Comments

@mariwing
Copy link

mariwing commented Feb 8, 2021

Version of the custom_component

2b371ee

Configuration

image

Describe the bug

The value seems to be divided with a "ten too low" (not sure how to describe this in English, in Norwegian I would say "prisen er delt på ti for mye").

The hourly price should be around 0.58 for my selected setup, but it is 0.058. This worked correctly before tonights update. I have looked at the different things that was merged tonight without beeing able to find what causes this behaviour.

I am aware that the issue template say that a debug log is needed. I think the issue should be easily reproducible by using the attached setup and therefore no debug log is attached. I have removed and added the integration several times tonight (trying with/without VAT and displaying as cent) but regardless of these different options, the price is always "ten too low".

Thank you for working on this great component!

@mariwing
Copy link
Author

mariwing commented Feb 9, 2021

Hmm... now I am getting confused. I installed the commit c8cab57 from 27. desember manually and restarted Home Assistant. The prices are still wrong. So maybe there is something wrong with the source data and it was just a coincidence that this happend at the same time as I updated?

@AbsolutJohan
Copy link

I can confirm that the error is in SEK as well. The spot prices are a tenth of what they should be. Thought it was this bug but isn’t corrected today; #47

@cornubot
Copy link

cornubot commented Feb 9, 2021

Can confirm in SEK too. The price is in euros, neither currency nor cents changes this.

This also occured using and older component, and started this night. Probably Nordpool has changed to returning euros and not local currency.

@cornubot
Copy link

cornubot commented Feb 9, 2021

Also UI config says NOK instead of currency, but entity states the currency correct. Might be a related issue.

But main issue is that the price is displayed in EUR och eurocents.

@jschlyter
Copy link

@cornubot This is a result of API changes at Nordpool in combination with two bugs in https://github.com/kipe/nordpool:

@jschlyter
Copy link

kipe/nordpool#18 will not fix the issue, but it will make the component crash and burn instead of pretending everything is fine.

@cbho
Copy link

cbho commented Feb 9, 2021

Also the case in DKK, if it has any relevance :-)

@jschlyter
Copy link

jschlyter commented Feb 9, 2021

kipe/nordpool#20 will fix this issue I hope, waiting for review by @kipe

@Hellowlol
Copy link
Collaborator

The latest update should fix the issue.

@mariwing
Copy link
Author

Latest update seems to work. Thank you so much 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants