Skip to content

Commit

Permalink
fix: remove debug data
Browse files Browse the repository at this point in the history
  • Loading branch information
jasper-seinhorst committed Feb 8, 2024
1 parent 90c0c8c commit f2fa2df
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Platform.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { API, DynamicPlatformPlugin, Logger, PlatformAccessory, PlatformConfig, Service, Characteristic } from 'homebridge';
import { Battery, Charger, DirectClimatisation } from './Accessories';
import PorscheConnect, { EngineType, Environment } from 'porsche-connect';
import PorscheConnect, { EngineType } from 'porsche-connect';
import { PlatformVehicle, PorscheAccessory } from './PlatformTypes';

export class PorscheTaycanPlatform implements DynamicPlatformPlugin {
Expand Down Expand Up @@ -53,9 +53,7 @@ export class PorscheTaycanPlatform implements DynamicPlatformPlugin {
private async discoverVehicles() {
if (this.PorscheConnectAuth) {
const vehicles = await this.PorscheConnectAuth.getVehicles();

console.log(vehicles);


Check warning on line 56 in src/Platform.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Trailing spaces not allowed

Check warning on line 56 in src/Platform.ts

View workflow job for this annotation

GitHub Actions / build (20.x)

Trailing spaces not allowed
for (const vehicle of vehicles) {
if (vehicle.engineType === EngineType.BatteryPowered) {
const platformVehicle: PlatformVehicle = { vehicle, accessories: [] };
Expand Down

0 comments on commit f2fa2df

Please sign in to comment.