It appears that GetPowerStationPowerAndIncomeByDay returns figures for multiple dates.
Hence this "fix" in order to ensure that the correct one is taken into account.
The code could probably be cleaner but knowing that it is not 100% sur how the GoodWe API works, it is robust as such.
It appears that GetPowerStationPowerAndIncomeByDay returns figures for multiple dates. Hence this "fix" in order to ensure that the correct one is taken into account. The code could probably be cleaner but knowing that it is not 100% sur how the GoodWe API works, it is robust as such.