From d749b829ad95cb91cfb1ea08cf92badbdddfae85 Mon Sep 17 00:00:00 2001 From: Christian Wegerhoff Date: Fri, 12 Apr 2024 12:54:34 +0200 Subject: [PATCH 1/2] Added Charge My Way to list of apps using this library --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7caf3c5..cee06c1 100644 --- a/README.md +++ b/README.md @@ -275,6 +275,7 @@ http://ts.la/joao290 * S3XY Key Fob (https://kenmaz.net/tesla-app/) * Meter (https://apps.apple.com/us/app/meter/id1603166204) * Chargey (https://get.chargey.app/) +* Charge My Way (https://apple.co/42EtHM5) Missing your app? open a PR or issue From eea3670c60d1d32bcfdfdd4b484d1d0635d163c4 Mon Sep 17 00:00:00 2001 From: Kevin Miller Date: Mon, 13 May 2024 11:32:48 -0500 Subject: [PATCH 2/2] EnergySite: add siteName and fix type --- Sources/TeslaSwift/Model/EnergySite.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/TeslaSwift/Model/EnergySite.swift b/Sources/TeslaSwift/Model/EnergySite.swift index 4248a77..11381d4 100644 --- a/Sources/TeslaSwift/Model/EnergySite.swift +++ b/Sources/TeslaSwift/Model/EnergySite.swift @@ -22,11 +22,12 @@ open class EnergySite: Codable { public var siteId: SiteId { SiteId(id: energySiteID) } + open var siteName: String? open var assetSiteID: String? open var components: Components? open var goOffGridTestBannerEnabled: Bool? open var stormModeEnabled: Bool? - open var powerwallOnboardingSettingsSet: String? + open var powerwallOnboardingSettingsSet: Bool? open var powerwallTeslaElectricInterestedIn: String? open var vppTourEnabled: Bool? @@ -44,6 +45,7 @@ open class EnergySite: Codable { open var breakerAlertEnabled: Bool enum CodingKeys: String, CodingKey { + case siteName = "site_name" case energySiteID = "energy_site_id" case resourceType = "resource_type" case warpSiteNumber = "warp_site_number"