diff --git a/vehicle.go b/vehicle.go index fa53108..97b177e 100644 --- a/vehicle.go +++ b/vehicle.go @@ -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)