Add multi-car success test, update feature descriptions, and enhance climate profile structure
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s

This commit is contained in:
2025-07-22 16:54:04 -04:00
parent d7944123dd
commit 92d4266f8b
4 changed files with 40 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -150,7 +150,7 @@ var features = map[string]string{
"PANPM-TUIRWAOC": "Power Moonroof",
"PANPM-DG2G": "Panoramic Moonroof",
"PHEV": "Electric Vehicle",
"RES": "Remote Start",
"RES": "Remote Engine Start",
"REARBRK": "Reverse Auto Braking",
"TIF_35": "Tire Pressure Front 35",
"TIR_33": "Tire Pressure Rear 35",
@ -167,6 +167,7 @@ var features = map[string]string{
"RVFS": "Remote Vehicle Find System",
"TLD": "Tire Pressure Low Detection",
"DOOR_LU_STAT": "Door Lock/Unlock Status",
"RPOI": "Remote Geo Point of Interest",
}
var troubles = map[string]string{

View File

@ -355,7 +355,7 @@ type ClimateProfile struct {
VehicleType string `json:"vehicleType,omitempty"` // vehicleType [ gas | phev ]
PresetType string `json:"presetType"` // presetType [ subaruPreset | userPreset ]
StartConfiguration string `json:"startConfiguration"` // startConfiguration [ START_ENGINE_ALLOW_KEY_IN_IGNITION (gas) | START_CLIMATE_CONTROL_ONLY_ALLOW_KEY_IN_IGNITION (phev) ]
RunTimeMinutes int `json:"runTimeMinutes,string"` // runTimeMinutes [ 5 | 10 ]
RunTimeMinutes int `json:"runTimeMinutes,string"` // runTimeMinutes [ 0 | 1 | 5 | 10 ]
HeatedRearWindowActive string `json:"heatedRearWindowActive"` // heatedRearWindowActive: [ false | true ]
HeatedSeatFrontRight string `json:"heatedSeatFrontRight"` // heatedSeatFrontRight: [ OFF | LOW_HEAT | MEDIUM_HEAT | HIGH_HEAT ]
HeatedSeatFrontLeft string `json:"heatedSeatFrontLeft"` // heatedSeatFrontLeft: [ OFF | LOW_HEAT | MEDIUM_HEAT | HIGH_HEAT ]
@ -368,6 +368,8 @@ type ClimateProfile struct {
Disabled string `json:"disabled"` // disabled [ false | true ]
}
type ClimateProfiles map[string]ClimateProfile
// GeoLocation represents the geographical location of a Subaru vehicle.
type GeoLocation struct {
Latitude float64 `json:"latitude"` // 40.700184

View File

@ -643,6 +643,10 @@ func (v *Vehicle) UpdateClimateUserPresets() error {
return nil
}
func (v *Vehicle) DeleteClimateUserPresets() error {
return nil
}
// GetVehicleStatus .
func (v *Vehicle) GetVehicleStatus() error {
if !v.getRemoteOptionsStatus() {