More debugging
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s

This commit is contained in:
2025-05-29 23:05:01 -04:00
parent 54005c36e5
commit 3734003b70

View File

@ -488,6 +488,8 @@ func (v *Vehicle) GetClimatePresets() {
tmp = strings.Replace(tmp, ` }\"]`, `}]`, -1)
tmp = strings.Replace(tmp, `\"`, `"`, -1)
v.client.logger.Debug("subaru climate presets after trimming", "body", tmp)
respParsed, err := gabs.ParseJSON([]byte(tmp))
if err != nil {
v.client.logger.Error("error while parsing json", "request", "GetClimatePresets", "error", err.Error())