Closed tmjo closed 3 years ago
It is a race condition. If the schedules are not polled once before the signalr data starts coming in, there is no basedict created and python assumes array instead which can not be indexed with anything else than integer numbers. What version are you using, I thought I fixed this...?
I forgot to do any further investigation on this. Right now I'm on latest 0.9.26 but can't remember if I updated during the last week. Perhaps it will be fixed in your PR #99 then, or do you believe it was fixed on the official release already?
I think this should be fixed in the current latest release actually... But if you see it still, then it is not fixed... :)
Let's hope it's done, didn't see it for a week or so and also did a restart now without error coming. Closing issue.
I've been getting this every now and then, believe it is only on restart of HA. I can take a look at it later, just pasting the error message while I remember it :) After some time, the sensor is updated correctly, so it is not a major problem.