From 386912e5fadc57aefb845df4d294228e9d4b8d76 Mon Sep 17 00:00:00 2001 From: Brett Date: Sun, 21 Jul 2024 11:41:36 +1000 Subject: [PATCH] fix vehicle --- src/vehicle.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/vehicle.ts b/src/vehicle.ts index c09b5b7..fb77871 100644 --- a/src/vehicle.ts +++ b/src/vehicle.ts @@ -87,10 +87,6 @@ export class VehicleAccessory { return this.platform.TeslaFleetApi.state(this.accessory.context.vin) .then((data) => { data.state = status; - this.accessory.context.charge_state = data.charge_state; - this.accessory.context.climate_state = data.climate_state; - this.accessory.context.drive_state = data.drive_state; - this.accessory.context.vehicle_state = data.vehicle_state; this.emitter.emit("vehicle_data", data); }); })