Commit 31a493d
committed
fix(fetch): reword days_previous_auto log to not imply it ran this cycle
Raised alongside the #4496 follow-up investigation: the "days_previous_auto
enabled - using weighted-bucket historical load forecast..." log line
fires unconditionally every cycle purely because days_previous_auto
defaults to True, regardless of whether the weighted-bucket forecast is
actually used that cycle. Load ML (or any source that sets
load_forecast_only) takes precedence and skips it entirely -
fetch_sensor_data() already has its own, correctly conditional "Using
weighted-bucket historical load forecast over N days" line that only
logs when the fallback genuinely runs.
Reworded to describe what's enabled/configured, not what happened, so a
Load ML user reading the log isn't misled into thinking both forecast
sources are being blended every cycle when they aren't - confirmed via
code trace, not just the log wording, that no double-application
actually occurs.1 parent 643868f commit 31a493d
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2366 | 2366 | | |
2367 | 2367 | | |
2368 | 2368 | | |
2369 | | - | |
| 2369 | + | |
| 2370 | + | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
2370 | 2379 | | |
2371 | 2380 | | |
2372 | 2381 | | |
| |||
0 commit comments