From f3093d30021d73cc86362703fbe4b99e93de1bdc Mon Sep 17 00:00:00 2001 From: Alex Savin Date: Thu, 29 May 2025 22:59:35 -0400 Subject: [PATCH] Tracing down the Subaru Climate Presets --- vehicle.go | 2 ++ 1 file changed, 2 insertions(+) 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)