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
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -150,7 +150,7 @@ var features = map[string]string{
|
|||||||
"PANPM-TUIRWAOC": "Power Moonroof",
|
"PANPM-TUIRWAOC": "Power Moonroof",
|
||||||
"PANPM-DG2G": "Panoramic Moonroof",
|
"PANPM-DG2G": "Panoramic Moonroof",
|
||||||
"PHEV": "Electric Vehicle",
|
"PHEV": "Electric Vehicle",
|
||||||
"RES": "Remote Start",
|
"RES": "Remote Engine Start",
|
||||||
"REARBRK": "Reverse Auto Braking",
|
"REARBRK": "Reverse Auto Braking",
|
||||||
"TIF_35": "Tire Pressure Front 35",
|
"TIF_35": "Tire Pressure Front 35",
|
||||||
"TIR_33": "Tire Pressure Rear 35",
|
"TIR_33": "Tire Pressure Rear 35",
|
||||||
@ -167,6 +167,7 @@ var features = map[string]string{
|
|||||||
"RVFS": "Remote Vehicle Find System",
|
"RVFS": "Remote Vehicle Find System",
|
||||||
"TLD": "Tire Pressure Low Detection",
|
"TLD": "Tire Pressure Low Detection",
|
||||||
"DOOR_LU_STAT": "Door Lock/Unlock Status",
|
"DOOR_LU_STAT": "Door Lock/Unlock Status",
|
||||||
|
"RPOI": "Remote Geo Point of Interest",
|
||||||
}
|
}
|
||||||
|
|
||||||
var troubles = map[string]string{
|
var troubles = map[string]string{
|
||||||
|
@ -355,7 +355,7 @@ type ClimateProfile struct {
|
|||||||
VehicleType string `json:"vehicleType,omitempty"` // vehicleType [ gas | phev ]
|
VehicleType string `json:"vehicleType,omitempty"` // vehicleType [ gas | phev ]
|
||||||
PresetType string `json:"presetType"` // presetType [ subaruPreset | userPreset ]
|
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) ]
|
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 ]
|
HeatedRearWindowActive string `json:"heatedRearWindowActive"` // heatedRearWindowActive: [ false | true ]
|
||||||
HeatedSeatFrontRight string `json:"heatedSeatFrontRight"` // heatedSeatFrontRight: [ OFF | LOW_HEAT | MEDIUM_HEAT | HIGH_HEAT ]
|
HeatedSeatFrontRight string `json:"heatedSeatFrontRight"` // heatedSeatFrontRight: [ OFF | LOW_HEAT | MEDIUM_HEAT | HIGH_HEAT ]
|
||||||
HeatedSeatFrontLeft string `json:"heatedSeatFrontLeft"` // heatedSeatFrontLeft: [ 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 ]
|
Disabled string `json:"disabled"` // disabled [ false | true ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ClimateProfiles map[string]ClimateProfile
|
||||||
|
|
||||||
// GeoLocation represents the geographical location of a Subaru vehicle.
|
// GeoLocation represents the geographical location of a Subaru vehicle.
|
||||||
type GeoLocation struct {
|
type GeoLocation struct {
|
||||||
Latitude float64 `json:"latitude"` // 40.700184
|
Latitude float64 `json:"latitude"` // 40.700184
|
||||||
|
@ -643,6 +643,10 @@ func (v *Vehicle) UpdateClimateUserPresets() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (v *Vehicle) DeleteClimateUserPresets() error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
// GetVehicleStatus .
|
// GetVehicleStatus .
|
||||||
func (v *Vehicle) GetVehicleStatus() error {
|
func (v *Vehicle) GetVehicleStatus() error {
|
||||||
if !v.getRemoteOptionsStatus() {
|
if !v.getRemoteOptionsStatus() {
|
||||||
|
Reference in New Issue
Block a user