Skip to content

Round out dead trigger fix: full test coverage + drop dead onoff.defrost config#14

Merged
Bre77 merged 1 commit into
mainfrom
fm/homey-r1-dead-triggers
Jul 22, 2026
Merged

Round out dead trigger fix: full test coverage + drop dead onoff.defrost config#14
Bre77 merged 1 commit into
mainfrom
fm/homey-r1-dead-triggers

Conversation

@Bre77

@Bre77 Bre77 commented Jul 22, 2026

Copy link
Copy Markdown
Member

Intent

  • Round out the fix landed in Fix the 4 dead *_changed flow triggers #12 for the 4 dead *_changed flow triggers (allow_export_changed, backup_reserve_changed, operation_mode_changed, steering_wheel_heater_changed)
    • update() already fires the matching trigger card on a real value change; the regression test only exercised backup_reserve and steering_wheel_heater directly
    • Add explicit fire/no-fire tests for allow_export_changed and operation_mode_changed so all 4 declared triggers have direct coverage, not just the shared mechanism
  • Remove the orphaned onoff.defrost capabilitiesOptions block from drivers/vehicle/driver.compose.json
    • The capability was never added to the driver's capabilities array, so the title config was dead

…, remove dead onoff.defrost config

The four dead *_changed flow triggers (allow_export, backup_reserve,
operation_mode, steering_wheel_heater) were already fixed in #12, but
the regression test only exercised backup_reserve and
steering_wheel_heater directly. Add explicit fire/no-fire tests for
allow_export_changed and operation_mode_changed so all four declared
triggers are covered individually.

Also remove the orphaned onoff.defrost capabilitiesOptions block in
the vehicle driver compose - the capability was never added to the
driver's capabilities array, so this config was dead.
@Bre77
Bre77 merged commit 33caa32 into main Jul 22, 2026
2 checks passed
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