Skip to content

Commit

Permalink
Fix Renault chargingStatus (evcc-io#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
premultiply authored Feb 2, 2021
1 parent ca988fc commit b12c112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vehicle/renault.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func (v *Renault) Status() (api.ChargeStatus, error) {
if res.Data.Attributes.PlugStatus > 0 {
status = api.StatusB
}
if res.Data.Attributes.ChargingStatus > 1.0 {
if res.Data.Attributes.ChargingStatus >= 1.0 {
status = api.StatusC
}
}
Expand Down

0 comments on commit b12c112

Please sign in to comment.