Closed mills1975 closed 10 months ago
So I just checked the code and this error is triggered when the number of lines in your CSV file (minus the header) is not dividable by 4.
if len(csv_data) % 4 != 0:
raise HomeAssistantError(
"Report to import seems to be corrupted. Please ensure that there are at least 4 QH values per hour."
)
Could you please check if your 06.11.23 to 14.11.23
file has exactly 865 lines including the header line (Datum von;Datum bis;...
) assuming it's from 06.11.2023 00:00
to 15.11.2023 00:00
like in the screenshot below:
Hello,
Omg... there is a line missing in the original file from LinzNetz. I don't know why, but there is no line for 06.11. between 21:15 and 21:30.
Thank you very much for your help... with your help I was able to find the problem.
many greetings Andi
Glad to hear that the issue could be resolved. And thank you for your report that the LinzNetz reports are not as reliable as I thought they would be. I'm running it for over a year now and luckily never run into such a problem.
Configuration