custom-components / sensor.avanza_stock

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

Long-term statistics #139

Closed filikun closed 2 years ago

filikun commented 2 years ago

It seems that the sensor generated by this integration does not function as a a long-term satistics sensor. Is it possible to make that work? So that one can pull history longer than the purge on the recorder (Love those apex charts).

claha commented 2 years ago

I've made some attempts to add this some months ago vit was not successfull, maybe there are more examples available now 😊 pull requests are welcome 😀

claha commented 2 years ago

I've figured it out, I was using an old (perhaps deprecated) base class. Once I tried the new one statistics started working, I can hopefully merge it this weekend :)