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 15:18:23 -04:00
parent cfcca3f61b
commit fb8f151e05

View File

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