Skip to content

Commit

Permalink
Fix: Stop charging when force_off mode active
Browse files Browse the repository at this point in the history
  • Loading branch information
davbauer committed Mar 28, 2024
1 parent 41b0cd1 commit 72c801f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/loop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default async function (): Promise<void> {
if (config.Mode === 'force_off') {
if (LiveData.data.Charger.Status === CAR_CHARGING) {
infoLog('Car is charging -> forcing off!');
await ChargerService.setChargeStart();
await ChargerService.setChargeStop();
}
WebSocketManager.sendEventLiveData();
return;
Expand Down

0 comments on commit 72c801f

Please sign in to comment.