Skip to content

Forward tablet navigate/revert actions for VACA devices#4

Open
loopy321 wants to merge 19 commits intomsp1974:mainfrom
loopy321:screensaver
Open

Forward tablet navigate/revert actions for VACA devices#4
loopy321 wants to merge 19 commits intomsp1974:mainfrom
loopy321:screensaver

Conversation

@loopy321
Copy link
Copy Markdown

@loopy321 loopy321 commented Mar 30, 2026

Summary

This PR updates view_assist navigation handling so companion app tablet navigation works reliably with revert timers and VACA-backed devices.

It ensures navigate/revert actions are forwarded correctly, normalizes revert_timeout handling, and keeps the Home Assistant navigation flow aligned with the companion app and VACA integration changes.

Included changes

  • Normalize revert_timeout values from service calls
  • Register view_assist.navigate with a schema that coerces timeout values correctly
  • Forward navigate and revert actions to VACA-backed devices
  • Prevent duplicate short-interval navigation forwards
  • Preserve revert-to-home behavior for timed dashboard navigations

Validation

Validated using view_assist.navigate calls against the Lenovo tablet:

  • navigate actions reach the tablet correctly
  • revert_timeout works correctly from HA service calls
  • revert navigation returns to the expected home route
  • the tablet then re-enters screensaver correctly under the companion app/VACA flow

Related changes

This PR is one part of a coordinated update across the companion app and Home Assistant integrations.

Related PRs:

Recommended rollout: merge and deploy the related PRs together.

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.

6 participants