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

This commit is contained in:
2025-05-30 13:39:41 -04:00
parent 2dbab08d08
commit e295a17587

View File

@ -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)