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-31 14:38:17 -04:00
parent 447e66f2e8
commit fcd7c00d7a

View File

@ -518,9 +518,10 @@ func (v *Vehicle) GetClimateQuickPresets() {
re1 := regexp.MustCompile(`\"`)
result := re1.ReplaceAllString(string(tmp.Data), "")
v.client.logger.Debug("quick climate preset after trimming #1", "request", "GetClimateQuickPresets", "body", result)
re2 := regexp.MustCompile(`\\`)
result = re2.ReplaceAllString(result, ``) // \u0022
v.client.logger.Debug("quick climate preset after trimming", "request", "GetClimateQuickPresets", "body", result)
v.client.logger.Debug("quick climate preset after trimming #2", "request", "GetClimateQuickPresets", "body", result)
var cProfile ClimateProfile
err = json.Unmarshal([]byte(result), &cProfile)