Skip to content

feat: offer the power tailgate command to every car - #524

Merged
nanomad merged 1 commit into
developfrom
feat/power-tailgate-for-all
Nov 12, 2026
Merged

nanomad merged 1 commit into
developfrom
feat/power-tailgate-for-all

Conversation

@nanomad

@nanomad nanomad commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #523. Drops the POWER_TAILGATE_VINS opt-in, which hasn't been released yet.

Why

Nothing in the vehicle data tells which cars have a power tailgate:

  • The MG S6 EV has one, and open/close works, but its model configuration has no CTRLBOOT or UB (see Ventilated front seats control saic-python-client-ng#35).
  • An MG4 with a manual boot has the same codes.
  • In the iOS app, CTRLBOOT is the electric tailgate code and UB the tailgate unlock code. Both are absent on the S6, so the app must decide some other way, which hasn't been found.

Changes

  • doors/boot/powerTailgate/set is handled for every car. Cars without a power tailgate are expected to refuse it, and the result topic then reports the error.
  • The "Power Tailgate" HA cover is published for every car with enabled_by_default: false. Enable it in HA to use it.
  • Removed --power-tailgate-vins / POWER_TAILGATE_VINS, VehicleInfo.has_power_tailgate and their tests. Updated the README.

Nothing in the vehicle data tells which cars have a power tailgate: the MG S6 EV has one but no CTRLBOOT or UB code in its model configuration, the same as an MG4 with a manual boot. Drop POWER_TAILGATE_VINS. The command is sent to every car, and the Home Assistant cover is published for every car but disabled by default. Cars without a power tailgate are expected to refuse the command.
@nanomad
nanomad merged commit f546785 into develop Nov 12, 2026
11 checks passed
@nanomad
nanomad deleted the feat/power-tailgate-for-all branch November 12, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant