Skip to content

Commit

Permalink
Battery boost: mode change (#16705)
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis committed Oct 24, 2024
1 parent 3c31416 commit 8baf6ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/components/MaterialIcon/BatteryBoost.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<svg :style="svgStyle" viewBox="0 0 48 48">
<g id="Your_Icons">
<g>
<path
fill="currentColor"
d="M35,9.996l-3,0l0,-4c0,-1.097 -0.903,-2 -2,-2l-12,0c-1.097,0 -2,0.903 -2,2l0,4l-3,0c-1.097,0 -2,0.903 -2,2l0,30c0,1.097 0.903,2 2,2l22,0c1.097,0 2,-0.903 2,-2l0,-30c0,-1.097 -0.903,-2 -2,-2Zm-15,-2l8,-0l0,2l-8,-0l0,-2Zm13,32l-18,0l0,-26l18,0l0,26Z"
Expand Down
3 changes: 2 additions & 1 deletion core/loadpoint_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ func (lp *Loadpoint) SetMode(mode api.ChargeMode) {
if lp.mode != mode {
lp.setMode(mode)

lp.batteryBoost = 0
lp.batteryBoost = boostDisabled
lp.publish(keys.BatteryBoost, false)

// reset timers
switch mode {
Expand Down

0 comments on commit 8baf6ff

Please sign in to comment.