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

This commit is contained in:
2025-06-01 15:40:05 -04:00
parent 2f86d769fc
commit 265fe89b03
2 changed files with 5 additions and 1 deletions

View File

@ -232,7 +232,7 @@ type VehicleCondition struct {
EvStateOfChargeMode string `json:"evStateOfChargeMode,omitempty"` // null,
EvTimeToFullyCharged string `json:"evTimeToFullyCharged,omitempty"` // null,
EvStateOfChargePercent int `json:"evStateOfChargePercent,omitempty"` // null,
LastUpdatedTime string `json:"lastUpdatedTime,string"` // "2023-04-10T17:50:54+0000",
LastUpdatedTime string `json:"lastUpdatedTime"` // "2023-04-10T17:50:54+0000",
}
// ClimateSettings .

View File

@ -613,6 +613,8 @@ func (v *Vehicle) GetVehicleStatus() {
val.Field(i).Interface() == "16383" ||
val.Field(i).Interface() == "65535" ||
val.Field(i).Interface() == "-64" ||
val.Field(i).Interface() == "" ||
val.Field(i).Interface() == 0 ||
val.Field(i).Interface() == nil {
continue
}
@ -769,6 +771,8 @@ func (v *Vehicle) GetVehicleCondition() {
val.Field(i).Interface() == "16383" ||
val.Field(i).Interface() == "65535" ||
val.Field(i).Interface() == "-64" ||
val.Field(i).Interface() == "" ||
val.Field(i).Interface() == 0 ||
val.Field(i).Interface() == nil {
continue
}