Skip to content

Commit

Permalink
Fix vehicle state
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Jul 4, 2024
1 parent 32869c4 commit 730874f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vehicle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class VehicleAccessory {
"vehicle_state",
])
.then((data) => {
this.accessory.context.state = "online";
this.accessory.context.state = data.state;
this.accessory.context.charge_state = data.charge_state;
this.accessory.context.climate_state = data.climate_state;
this.accessory.context.drive_state = data.drive_state;
Expand Down

0 comments on commit 730874f

Please sign in to comment.