Some changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user