Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasman committed Jul 12, 2022
1 parent 2694567 commit 054d892
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Sources/TeslaSwift/Model/BatteryData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ open class BatteryData: Codable {
case powerReading = "power_reading"
case batteryCount = "battery_count"
}
VehicleExtended.swift:21

// MARK: - Backup
open class Backup: Codable {
open var backupReservePercent: Double
Expand Down
2 changes: 1 addition & 1 deletion Sources/TeslaSwift/Model/EnergySite.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ open class EnergySite: Codable {
case breakerAlertEnabled = "breaker_alert_enabled"
case components
}
ValetCommandOptions.swift:23

// MARK: - Components
open class Components: Codable {
open var battery: Bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import Foundation

open class RemoteSteeringWheelHeaterRequestOptions: Encodable {VehicleState.swift:213
open class RemoteSteeringWheelHeaterRequestOptions: Encodable {
open var on: Bool

init(on: Bool) {
Expand Down
2 changes: 1 addition & 1 deletion Sources/TeslaSwift/Model/VehicleExtended.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ open class VehicleExtended: Vehicle {

let superEncoder = container.superEncoder()
try super.encode(to: superEncoder)
}Authentication.swift:206
}
}
2 changes: 1 addition & 1 deletion Sources/TeslaSwift/Model/VehicleState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ open class VehicleState: Codable {
case vehicleName = "vehicle_name"
}

required public init(from decoder: Decoder) throws {TeslaWebLoginViewContoller.swift:39
required public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)

apiVersion = try? container.decode(Int.self, forKey: .apiVersion)
Expand Down
2 changes: 1 addition & 1 deletion Sources/TeslaSwift/TeslaEndpoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ enum Endpoint {
case vehicleState(vehicleID: String)
case vehicleConfig(vehicleID: String)
case wakeUp(vehicleID: String)
case command(vehicleID: String, command: RemoteSteeringWheelHeaterRequestOptions.swift:20VehicleCommand)
case command(vehicleID: String, command: VehicleCommand)
case products
case getEnergySiteStatus(siteID: String)
case getEnergySiteLiveStatus(siteID: String)
Expand Down

0 comments on commit 054d892

Please sign in to comment.