Jevgeni Kiski
Jevgeni Kiski
I can confirm `query` with `chunk=True` does not work on 5.3.0.
> Hello Team, > Any workaround for this issue? Sure use `
With the version from yesterday there is a bug that it keeps the same prices for tommorow. Today 0.171, 0.179, 0.175, 0.173, 0.175, 0.116, 0.241, 0.32, 0.348, 0.329, 0.252, 0.234,...
2022-04-02 10:37:35 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform nordpool is taking over 10 seconds. .... 2022-04-02 10:41:26 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.nordpool Starts already...
The integration made 69 requests to finally get data. i think it fails if prices are requested before midday (when new prices are published) See log attached. [nordpool-fix-1_full.log](https://github.com/custom-components/nordpool/files/8402532/nordpool-fix-1_full.log)
The method you used to make nordpool library async is very scary. I'd better throw a PR to add async to that library. =)
BTW. Take a look to the latest version of that library. It already has async support.
Ahh, you have just made a copy of that async version and modified... Ok, your code, your rules...
@Hellowlol I will. Updating
It still does 6 requests to nordpool on HA restart.