Skip to content

ForecastSolar.read method provides inconsistent indexing

Summary

The ForecastSolar.read method behaves differently depending on what time range relative to today the internal request receives data from.

E.g. weird things happen at testing by mock responses with results looking like this:

>> results
                      2024-11-02 19:08:31.448227+01:00
node_forecast_solar2                               0.0
node_forecast_solar1                               0.0
  • Behaviour shall be investigated
  • Maybe interpolating might not be necessary in this function
  • Tests must be updated