More changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s

This commit is contained in:
2025-06-04 17:28:21 -04:00
parent 25c551af1d
commit af28d7b2ed
2 changed files with 6 additions and 6 deletions

View File

@ -906,13 +906,13 @@ func (v *Vehicle) parseTire(prefix, suffix, name string, value any) {
// v.client.logger.Debug("VEHICLE COND", "key", name, "data", value, "number", len(submatchall))
if t, ok := v.Tires[pos]; ok {
t.Pressure = value.(int)
t.Pressure = int(value.(float64))
t.Updated = time.Now()
v.Tires[pos] = t
} else {
v.Tires[pos] = Tire{
Position: submatchall[0],
Pressure: value.(int),
Pressure: int(value.(float64)),
Updated: time.Now(),
}
if len(submatchall) >= 2 {