Claes Hallström
Claes Hallström
There are some roundings done, will have a closer look at it
I'll see what I can do, the proper way would probably be if this component created that input_number sensor by itself. But the code for this is so far behind...
Got some time to test this today, it was easy to allow a template in the config and it gets the value correctly. What's left is to figure out how...
Here is the branch, but as I said above it will only pull the value of the template when HA is started https://github.com/custom-components/sensor.avanza_stock/tree/shares-template
One thing to check is if the api is down, you can do that by visiting this url in your browser: https://www.avanza.se/_api/market-guide/stock/{orderbook_id} Change "{orderbook_id}" to the id you have for...
I guess the error is the same as before, I'll try and find out why/when "Session is closed" happens and how to handle that
> That's right for me. I installed the addin for the first time yesterday. No update since then. Any errors? What is your config?
> Same for me. Sensors didnt fetch new state for 21 Minutes now. I am tracking the last updated timesstamp (as the built-in attribute is never populated) 60minutes is the...
You can do ``` - platform: avanza_stock scan_interval: 60 ``` I guess 1,1min is the lowest. This is builtin (somehow) since this is a yaml only integraton.
Not sure if avanza could ip block you though, bit never happened what Ive heard 😃