Skip to content

Expose pluggedIn / charging on VehicleEntity for Shortcuts automations #64

@mrscoopman

Description

@mrscoopman

VehicleEntity should expose EV plug and charge state so it's readable via "Get Details of Vehicle" in Shortcuts.

Right now VehicleEntity exposes batteryPercentage but not plug status, and GetVehicleStatusIntent only returns a spoken dialog string (.result(dialog:)) with no usable output value. That leaves no way to build a conditional automation — for example, "at 10 PM, if the car isn't plugged in, send a notification." This is a core use case for an EV companion app, and right now the app can't support it.

The data already exists on BBVehicle.evStatus (pluggedIn, charging). Exposing it is a small change: copy those two booleans into VehicleEntity exactly the way batteryPercentage already is in init(from bbVehicle:). Once they're on the entity, Shortcuts can read them as booleans and conditional charging-reminder automations become possible.

Please add pluggedIn and charging to VehicleEntity. Thanks for the great app.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions