Repository navigation
Commit 956c132
docs(fetch): correct the car_energy_reported_load check's docstrings (#5318 review)
minute_data() interpolates across a gap inside the history rather than
leaving it flat, so only a stretch before the history or padded over a
reset reads as no load; say so, and that a long outage over a charge can
still count. The load history is only emptied when car_charging_hold is
On as well. Give the test's nested load() helper a docstring.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 03265bc commit 956c132
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3455 | 3455 | | |
3456 | 3456 | | |
3457 | 3457 | | |
3458 | | - | |
| 3458 | + | |
| 3459 | + | |
| 3460 | + | |
3459 | 3461 | | |
3460 | 3462 | | |
3461 | 3463 | | |
| |||
3482 | 3484 | | |
3483 | 3485 | | |
3484 | 3486 | | |
3485 | | - | |
| 3487 | + | |
| 3488 | + | |
3486 | 3489 | | |
3487 | 3490 | | |
3488 | 3491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments