From 3499d99e5893ce65f4c3b60b9aedfb402bb877d6 Mon Sep 17 00:00:00 2001 From: andig Date: Wed, 13 Dec 2023 19:28:06 +0100 Subject: [PATCH] Hardybarth Salia: accept float limits --- charger/echarge/salia/types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charger/echarge/salia/types.go b/charger/echarge/salia/types.go index e03b1eef7..f079d897b 100644 --- a/charger/echarge/salia/types.go +++ b/charger/echarge/salia/types.go @@ -78,7 +78,7 @@ type Port struct { } } } - EvPresent int `json:"ev_present,string"` - Charging int `json:",string"` - GridCurrentLimit int `json:"grid_current_limit,string"` + EvPresent int `json:"ev_present,string"` + Charging int `json:",string"` + GridCurrentLimit float64 `json:"grid_current_limit,string"` }