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

This commit is contained in:
2025-05-30 14:30:52 -04:00
parent 6e70d26347
commit 5381f90e6b

View File

@ -499,8 +499,8 @@ func (v *Vehicle) GetClimatePresets() {
re1 := regexp.MustCompile(`\"`)
result := re1.ReplaceAllString(string(tmp.Data), "")
re2 := regexp.MustCompile(`\\\`)
result = re2.ReplaceAllString(result, "\"")
re2 := regexp.MustCompile(`\\u005c\\u005c\\u005c`)
result = re2.ReplaceAllString(result, "\"") // \u0022
v.client.logger.Debug("subaru climate presets trimmed http output", "body", result)
var cProfiles []ClimateProfile