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

This commit is contained in:
2025-05-31 14:25:10 -04:00
parent 567e9a8650
commit 325ecb8cde

View File

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