Tracing down the Subaru Climate Presets
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:
@ -480,6 +480,8 @@ func (v *Vehicle) GetClimatePresets() {
|
||||
reqURL := MOBILE_API_VERSION + apiURLs["API_G2_FETCH_RES_SUBARU_PRESETS"]
|
||||
resp := v.client.execute(reqURL, GET, map[string]string{}, "", false)
|
||||
|
||||
v.client.logger.Debug("subaru climate presets http output", "body", resp)
|
||||
|
||||
tmp := strings.Replace(string(resp), `\\\"`, `"`, -1)
|
||||
tmp = strings.Replace(tmp, `}\",\"{`, `},{`, -1)
|
||||
tmp = strings.Replace(tmp, `[\"{`, `[{`, -1)
|
||||
|
Reference in New Issue
Block a user