Skip to content

Commit

Permalink
add more fields, available in 2024.44.32
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdemers6 committed Dec 18, 2024
1 parent c6050ed commit 4034cea
Show file tree
Hide file tree
Showing 5 changed files with 1,322 additions and 892 deletions.
12 changes: 12 additions & 0 deletions datastore/simple/transformers/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,18 @@ func transformValue(value interface{}, includeTypes bool, vin string) (interface
case *protos.Value_DisplayStateValue:
outputType = "displayState"
outputValue = v.DisplayStateValue.String()
case *protos.Value_PressureUnitValue:
outputType = "pressureUnit"
outputValue = v.PressureUnitValue.String()
case *protos.Value_TemperatureUnitValue:
outputType = "temperatureUnit"
outputValue = v.TemperatureUnitValue.String()
case *protos.Value_ChargeUnitPreferenceValue:
outputType = "chargeUnit"
outputValue = v.ChargeUnitPreferenceValue.String()
case *protos.Value_DistanceUnitValue:
outputType = "distanceUnit"
outputValue = v.DistanceUnitValue.String()
default:
return nil, false
}
Expand Down
164 changes: 86 additions & 78 deletions protos/python/vehicle_data_pb2.py

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion protos/ruby/vehicle_data_pb.rb

Large diffs are not rendered by default.

Loading

0 comments on commit 4034cea

Please sign in to comment.