custom-components / sensor.avanza_stock

Custom component to get stock data from Avanza for Home Assistant
MIT License
46 stars 10 forks source link

Stock indices show currency sek #99

Closed fabir-git closed 3 years ago

fabir-git commented 4 years ago

It seems like the unit for stock indices like the DAX is reported in 'SEK' instead of points.

claha commented 4 years ago

Yes this is correct. The api returns SEK as the currency, not sure why. The only option I see is to add a config option to set the unit_of_measurement manually. Would this suffice?

fabir-git commented 4 years ago

That would be fine. Seems we have found a bug in their api. Thank you claha :)