Working on fixing a Quick Climate Preset
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s

This commit is contained in:
2025-05-31 14:26:49 -04:00
parent 325ecb8cde
commit 0a6e69159d

View File

@ -519,7 +519,7 @@ func (v *Vehicle) GetClimateQuickPresets() {
// re1 := regexp.MustCompile(`\"`)
// result := re1.ReplaceAllString(string(tmp.Data), "")
re := regexp.MustCompile(`\\\\`)
result := re.ReplaceAllString(string(tmp.Data), "") // \u0022
result := re.ReplaceAllString(string(tmp.Data), ``) // \u0022
v.client.logger.Debug("quick climate preset after trimming", "request", "GetClimateQuickPresets", "body", result)
var cProfiles []ClimateProfile