JaccoR / hass-entso-e

Integration for Home Assistant to fetch day ahead energy prices from European countries via ENTSO-e Transparency Platform
159 stars 25 forks source link

Suddenly no price data #125

Closed ThorAlex87 closed 1 year ago

ThorAlex87 commented 1 year ago

Hi, so I have been running this integration with no major issues since last year, moved in february and it has been running perfectly since i got Home Assistant up and running in the new place early march. No relevant changes on my end in the last few weeks. Then suddenly there is no data from 2200 last night, nothing at all. I've restarted home assistant, updated to latest version (3.6 > 4.4) and can find nothing wrong on my end. In the logs I find this error:

Logger: custom_components.entsoe.sensor
Source: custom_components/entsoe/sensor.py:128
Integration: ENTSO-e Transparency Platform (documentation, issues)
First occurred: 10:00:00 (2 occurrences)
Last logged: 10:00:00

Unable to update entity due to data processing error: None and error: unsupported operand type(s) for /: 'NoneType' and 'float'

Can anyone make sense of this?

Edit: Is there a way to detect when there is no data from the integration so I can make a warning and automatic failsafe?

ThorAlex87 commented 1 year ago

So this might have been an issue with the data downloaded yesterday, and appears to have solved itself once today's data became available. I still have no idea exactly what happened so I'll leave this here in case someone can make any sence of the log or it happens again.