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

This commit is contained in:
2025-05-30 14:36:36 -04:00
parent f62fc1f0f7
commit 94e8dd70c8

View File

@ -500,7 +500,7 @@ 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(`[\\u005c]{}`)
re2 := regexp.MustCompile(`[\\u005c]{2}`)
result = re2.ReplaceAllString(result, "\"") // \u0022
v.client.logger.Debug("subaru climate presets trimmed http output #2", "body", result)