From 951019f890301bbb3d089f53b480cb16212a2205 Mon Sep 17 00:00:00 2001 From: Mario Monaco Date: Thu, 23 Nov 2023 23:38:01 +0100 Subject: [PATCH] Optional fix for WallConnector --- Sources/TeslaSwift/Model/EnergySiteInfo.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/TeslaSwift/Model/EnergySiteInfo.swift b/Sources/TeslaSwift/Model/EnergySiteInfo.swift index 1726312..ea5b0b8 100644 --- a/Sources/TeslaSwift/Model/EnergySiteInfo.swift +++ b/Sources/TeslaSwift/Model/EnergySiteInfo.swift @@ -15,7 +15,7 @@ open class EnergySiteInfo: Codable { open var backupReservePercent: Double? open var defaultRealMode: String? open var installationDate: Date - open var version: String + open var version: String? open var batteryCount: Int? open var nameplatePower: Double? open var nameplateEnergy: Double?