diff --git a/charger/shelly.go b/charger/shelly.go index 85a7f9e54..b93c31bb0 100644 --- a/charger/shelly.go +++ b/charger/shelly.go @@ -91,7 +91,7 @@ func NewShelly(uri, user, password string, channel int, standbypower float64) (* if resp.NumMeters == 0 { // Shelly1 force static mode with fake power http://192.168.178.xxx/settings/power/0?power=standbypower+1 - uri := fmt.Sprintf("%s/settings/power/%d?power=%d", c.uri, c.channel, int(math.Abs(c.standbypower)+1)) + uri := fmt.Sprintf("%s/settings/power/%d?power=%d", c.uri, c.channel, int(math.Abs(c.standbypower))) if err := c.GetJSON(uri, &resp); err != nil { return c, err }