From c977a26e409796ecf815d880dae082aeb695b9a0 Mon Sep 17 00:00:00 2001 From: andig Date: Thu, 15 Aug 2024 11:29:12 +0200 Subject: [PATCH] Smart: fix api --- vehicle/smart/hello/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle/smart/hello/types.go b/vehicle/smart/hello/types.go index 3656c2ad4..82a4029b8 100644 --- a/vehicle/smart/hello/types.go +++ b/vehicle/smart/hello/types.go @@ -86,7 +86,7 @@ type VehicleStatus struct { ChargeLevel int `json:"chargeLevel,string"` // "76", StatusOfChargerConnection int `json:"statusOfChargerConnection,string"` // "0", DcDcActvd int `json:"dcDcActvd,string"` // "0", - IndPowerConsumption int `json:"indPowerConsumption,string"` // "1000", + IndPowerConsumption float64 `json:"indPowerConsumption,string"` // "1000", DcDcConnectStatus int `json:"dcDcConnectStatus,string"` // "0", DisChargeIAct float64 `json:"disChargeIAct,string"` // "0.0", DcChargeIAct float64 `json:"dcChargeIAct,string"` // "0.0",