Skip to content

Add navigate-to-address, cabin temperature, and climate mode flow actions#18

Merged
Bre77 merged 1 commit into
mainfrom
fm/homey-b2-navigate-climate
Jul 23, 2026
Merged

Add navigate-to-address, cabin temperature, and climate mode flow actions#18
Bre77 merged 1 commit into
mainfrom
fm/homey-b2-navigate-climate

Conversation

@Bre77

@Bre77 Bre77 commented Jul 23, 2026

Copy link
Copy Markdown
Member

Intent

  • Surface three vehicle commands that the SDK already supports but that had no flow action, following the action-card pattern from Add vehicle charging & battery flow automation suite #13:
    • navigate_to_address - sends navigationRequest({ value: address }), a plain destination string
    • set_cabin_temperature - drives the existing target_temperature capability path (setTemps(temp, temp))
    • set_climate_mode - drives the existing thermostat_mode capability (off/auto/defrost/keep/dog/camp)
  • set_climate_mode's logic (climate on/off, defrost, keeper mode) was already non-trivial in the thermostat_mode capability listener, so it's pulled into a shared setThermostatMode() method used by both the capability listener and the new flow action, instead of duplicating it
  • No new SDK surface or capabilities - all three actions call commands/capabilities already wired up elsewhere in the device
  • Cabin overheat protection is intentionally left out: it needs a brand-new capability definition, tracked separately (C1)
  • Add tests for flowNavigateToAddress, flowSetCabinTemperature, and flowSetClimateMode in test/vehicle-charging-flow.test.ts, mirroring the existing action tests

…ions

Surfaces three already-supported vehicle commands (navigation_request,
setTemps, and the existing thermostat_mode climate/keeper/defrost path)
as Homey flow actions, following the action-card pattern from the
charging & battery flow suite. The thermostat_mode capability listener
logic moves into a shared setThermostatMode() method so the flow action
and the capability listener stay in sync instead of duplicating logic.

Cabin overheat protection is left out - it needs a new capability
definition and is tracked as a separate follow-up.
@Bre77
Bre77 merged commit 624cb27 into main Jul 23, 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