Repository navigation
Commit f55c289
fix(octopus): keep a charger's planned slots from octopus_intelligent_planned_slot while Smart Control is off (#5339)
Since the merge with main, a car's planned dispatches can come from
octopus_intelligent_planned_slot (#5443) rather than the Octopus dispatch
sensor. Those are the charger's own plan, not the plan Octopus keeps
reporting after Smart Control is switched off, so the Smart Control filter
no longer applies to them. Before this, a charger whose sensor does not tag
its slots as the charger's schedule lost every planned slot while the
switch was off. The Ohme component already tags its slots that way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 99065fa commit f55c289
3 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1846 | 1846 | | |
1847 | 1847 | | |
1848 | 1848 | | |
| 1849 | + | |
1849 | 1850 | | |
1850 | 1851 | | |
1851 | 1852 | | |
| |||
1889 | 1890 | | |
1890 | 1891 | | |
1891 | 1892 | | |
1892 | | - | |
| 1893 | + | |
| 1894 | + | |
1893 | 1895 | | |
1894 | | - | |
| 1896 | + | |
1895 | 1897 | | |
1896 | 1898 | | |
1897 | 1899 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
208 | 220 | | |
209 | 221 | | |
210 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
0 commit comments