Skip to content

Commit f461409

Browse files
committed
fix intermediate regulation of wallbox
1 parent ab0da87 commit f461409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2025,8 +2025,8 @@ class Kecontact extends utils.Adapter {
20252025
newDate.getTime() - this.lastCalculating.getTime() < this.intervalCalculating
20262026
) {
20272027
if (this.getStateDefault0(this.stateWallboxCurrent) > tempMax) {
2028-
this.log.debug(`set intermediate charging maximum of ${curr} mA`);
2029-
this.regulateWallbox(curr);
2028+
this.log.debug(`set intermediate charging maximum of ${tempMax} mA`);
2029+
this.regulateWallbox(tempMax);
20302030
}
20312031
return;
20322032
}

0 commit comments

Comments
 (0)