From e9df24a96b8a9e13b4a7b75098d19673e090615a 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); }); })