Some minor fixes
This commit is contained in:
@ -405,7 +405,7 @@ func (s *MySubaruClient) mySubaruStatusToMQTTMessage(v *mysubaru.Vehicle) []*bus
|
||||
tq := len(v.Tires)
|
||||
tc := 1
|
||||
for n, t := range v.Tires {
|
||||
tires = tires + `"` + n + `":` + strconv.Itoa(t.Pressure)
|
||||
tires = tires + `"` + n + `":` + strconv.Itoa(t.PressurePsi)
|
||||
if tc != tq {
|
||||
tires = tires + `,`
|
||||
}
|
||||
|
Reference in New Issue
Block a user