Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jonasman/TeslaSwift
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasman committed Oct 29, 2024
2 parents 188a9ae + f7e7b53 commit d10c3fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion Sources/TeslaSwift/Model/EnergySite.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand All @@ -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"
Expand Down

0 comments on commit d10c3fb

Please sign in to comment.