Repository navigation
Commit 1d916cc
fix(octopus): keep a held half hour while Smart Control is off and a charger's own slots overlap it (#5339)
octopus_held_dispatches() (#5520) drops a held half hour once any completed
or planned slot overlaps it. While Smart Control is off, the slots from
octopus_intelligent_planned_slot are re-tagged as a charger schedule, which
is never priced off-peak or counted against the daily slot cap - yet they
still counted as cover. So with an Ohme on Octopus Intelligent, turning
Smart Control off mid-dispatch put the half hour Octopus had already
dispatched back to the day rate until the slot sensor listed it as
completed, the #5520 symptom the hold exists to stop.
A charger-schedule slot no longer covers a held half hour.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 53d4c65 commit 1d916cc
2 files changed
Lines changed: 35 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4228 | 4228 | | |
4229 | 4229 | | |
4230 | 4230 | | |
4231 | | - | |
4232 | | - | |
4233 | | - | |
| 4231 | + | |
| 4232 | + | |
| 4233 | + | |
| 4234 | + | |
| 4235 | + | |
| 4236 | + | |
4234 | 4237 | | |
4235 | 4238 | | |
4236 | 4239 | | |
4237 | 4240 | | |
4238 | 4241 | | |
4239 | 4242 | | |
4240 | | - | |
4241 | | - | |
| 4243 | + | |
| 4244 | + | |
4242 | 4245 | | |
4243 | 4246 | | |
4244 | 4247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
74 | 83 | | |
75 | 84 | | |
76 | 85 | | |
| |||
258 | 267 | | |
259 | 268 | | |
260 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
261 | 288 | | |
262 | 289 | | |
263 | 290 | | |
| |||
0 commit comments