Skip to content

Commit 8798379

Browse files
docs(charger-control): say what an Ohme claim covers since #5443
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 432c97d commit 8798379

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎apps/predbat/car_charger_control.py‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,16 @@ def charger_control_octopus_drives_charger(self, car_n):
191191
# Not wired for this car - but the Octopus component may simply not have got there yet
192192
return None if self.charger_control_octopus_discovering() else False
193193
if car_n == 0 and self.charger_control_slots_claimed():
194-
# Another charger component (Ohme) supplies the Intelligent slots from the charger itself
194+
# Another charger component (Ohme) supplies car 0's Intelligent slots from the charger itself
195195
return True
196196
return self.charger_control_dispatch_is_charger(slot)
197197

198198
def charger_control_slots_claimed(self):
199-
"""Has another charger component (Ohme) claimed car 0's Intelligent car slots.
199+
"""Has another charger component (Ohme) claimed car 0's Intelligent car wiring.
200200
201-
The claim is for car 0 alone, the car that component wires. Since #5443 the Octopus
202-
component goes on wiring its own dispatch sensors under the claim, one per device, so a
201+
The claim is for car 0 alone, the car that component wires. Since #5443 it covers only the
202+
ready time and charge limit: the Ohme supplies the planned slots, and the Octopus component
203+
goes on wiring its own dispatch sensors into octopus_intelligent_slot, one per device. So a
203204
second car has a sensor of its own and is judged on what that sensor says.
204205
"""
205206
owner = getattr(self.base, "car_slot_owner", None)

0 commit comments

Comments
 (0)