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

This commit is contained in:
2025-05-29 23:50:00 -04:00
parent c94c97c561
commit 2ab1070bce

View File

@ -482,7 +482,7 @@ func (v *Vehicle) GetClimatePresets() {
v.client.logger.Debug("subaru climate presets http output", "body", resp)
tmp1 := strings.ReplaceAll(string(resp), `\\\"`, `"`)
tmp1 := strings.ReplaceAll(string(resp), "\\\\\\\"", "\"")
v.client.logger.Debug("subaru climate presets after trimming #1", "body", tmp1)
tmp2 := strings.ReplaceAll(tmp1, `}\",\"{`, `},{`)
v.client.logger.Debug("subaru climate presets after trimming #2", "body", tmp2)