B03X: stop_charging command is accepted but car keeps charging (start_charging works)
Vehicle: Leapmotor B03X (EU), LeapConnect 0.13.0, MQTT export enabled, running as a local Home Assistant app on a Raspberry Pi 5 (arm64, built from the v0.13.0 tag).
Problem: stop_charging is sent (button in the web UI and .../command with payload charging_stop over MQTT), but the car keeps charging. start_charging works.
Steps to reproduce
- Car plugged in, not charging, charge plan set so that the current time is outside the plan window.
- Press "Start Charging" (web UI or MQTT button) -> charging starts within ~1 minute (about 1.8 kW AC). This works even outside the plan window.
- Press "Stop Charging" in the LeapConnect web UI, and also via the MQTT button from Home Assistant (pressed twice, ~5 minutes apart).
- The car keeps charging (
is_charging: true,battery_charging_power_kw: 1.77) for more than 7 minutes. No error is shown in the UI and nothing relevant appears in the container log. - Stopping the charge in the official Leapmotor app works immediately.
Expected: charging stops after stop_charging, or an error/response is shown.
Notes
- Charging was also started automatically by the car when the car's own charge plan was disabled and the cable was plugged in (not related to the commands).
- Happy to test patches or provide more logs (debug level) if you tell me what to enable.
Correction of my previous comment: please ignore it. I wrongly attributed a stop to the stop_charging command. The charge that stopped at ~09:52 was actually caused by pressing "Unlock Charger" at the same time, not by stop_charging. So the situation is as in the original report: stop_charging is sent but the car keeps charging (tested 3 times, no effect).
New observation: after "Unlock Charger" the charge stopped for about a minute and then started again by itself. Stopping in the official Leapmotor app (~09:49) stayed stopped until I sent start_charging again.