mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 00:45:22 +00:00
mypy
This commit is contained in:
parent
598221d6e3
commit
ac90abd621
@ -121,7 +121,7 @@ def fastapi_gesamtlast(request: GesamtlastRequest) -> list[float]:
|
||||
adjuster.adjust_predictions()
|
||||
future_predictions = adjuster.predict_next_hours(hours)
|
||||
|
||||
leistung_haushalt = future_predictions["Adjusted Pred"].values
|
||||
leistung_haushalt = future_predictions["Adjusted Pred"].to_numpy()
|
||||
gesamtlast = Gesamtlast(prediction_hours=hours)
|
||||
gesamtlast.hinzufuegen(
|
||||
"Haushalt",
|
||||
|
Loading…
x
Reference in New Issue
Block a user