More changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
This commit is contained in:
@ -501,6 +501,7 @@ func (v *Vehicle) GetClimatePresets() {
|
||||
result := re1.ReplaceAllString(string(tmp.Data), "")
|
||||
re2 := regexp.MustCompile(`([\\\\])`)
|
||||
result = re2.ReplaceAllString(result, "")
|
||||
v.client.logger.Debug("subaru climate presets trimmed http output", "body", result)
|
||||
|
||||
var cProfiles []ClimateProfile
|
||||
err = json.Unmarshal([]byte(result), &cProfiles)
|
||||
|
Reference in New Issue
Block a user