From d41a2a761804cd1d46cf344a0a8fd14b9be312b0 Mon Sep 17 00:00:00 2001 From: Alex Savin Date: Thu, 10 Jul 2025 16:09:50 -0400 Subject: [PATCH] Change ClimateZoneFrontAirVolume type from int to string for consistency with JSON tags --- mysubaru.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysubaru.go b/mysubaru.go index 946719b..5ed80f9 100644 --- a/mysubaru.go +++ b/mysubaru.go @@ -361,7 +361,7 @@ type ClimateProfile struct { HeatedSeatFrontLeft string `json:"heatedSeatFrontLeft"` // heatedSeatFrontLeft: [ OFF | LOW_HEAT | MEDIUM_HEAT | HIGH_HEAT ] ClimateZoneFrontTemp int `json:"climateZoneFrontTemp,string"` // climateZoneFrontTemp: [ for _ in range(60, 85 + 1)] // climateZoneFrontTempCelsius: [for _ in range(15, 30 + 1) ] ClimateZoneFrontAirMode string `json:"climateZoneFrontAirMode"` // climateZoneFrontAirMode: [ WINDOW | FEET_WINDOW | FACE | FEET | FEET_FACE_BALANCED | AUTO ] - ClimateZoneFrontAirVolume int `json:"climateZoneFrontAirVolume"` // climateZoneFrontAirVolume: [ AUTO | 2 | 4 | 7 ] + ClimateZoneFrontAirVolume string `json:"climateZoneFrontAirVolume"` // climateZoneFrontAirVolume: [ AUTO | 2 | 4 | 7 ] OuterAirCirculation string `json:"outerAirCirculation"` // airConditionOn: [ false | true ] AirConditionOn bool `json:"airConditionOn"` // airConditionOn: [ false | true ] CanEdit bool `json:"canEdit"` // canEdit [ false | true ]