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 14:25:24 -04:00
parent bb16ae1487
commit 4f08d3c820

View File

@ -497,7 +497,7 @@ func (v *Vehicle) GetClimatePresets() {
}
v.client.logger.Debug("subaru climate presets parsed http output", "body", string(tmp.Data))
re1 := regexp.MustCompile(`([\]["])`)
re1 := regexp.MustCompile(`\"`)
result := re1.ReplaceAllString(string(tmp.Data), "")
// re2 := regexp.MustCompile(`([\\\\])`)
// result = re2.ReplaceAllString(result, "")