Skip to content

v5.0.3

Choose a tag to compare

@tempus2016 tempus2016 released this 04 Aug 07:07
· 429 commits to main since this release
c8017e9

A fix release for the tap-to-open notification feature introduced in v5.0.2.

Fixes

  • Notification taps now actually open the TaskMate panel. v5.0.2's default tap target pointed at /taskmate, which is the integration's static-files path rather than the panel, so tapping a notification landed on a "403: Forbidden" page instead of TaskMate. The default is now /taskmate-admin.
    • A one-time migration runs on upgrade and corrects any stored /taskmate value, both the global default and any per-type override. If you deliberately set a different target (a Lovelace path, a full URL, or noAction), it is left untouched.
    • No action needed on your part — restart Home Assistant after updating and taps will land on the panel. (#741)

Security hardening

  • Tap targets are now vetted when saved. The When tapped, open field (Admin Panel → Notifications) accepts only dashboard paths beginning with /, http(s):// URLs, or noAction. Anything else is rejected with an error in the panel.
    • The reason: the tap target is opened on the recipient's phone by the Companion app, which also honours app-scheme deep links. Values such as intent://, app://, homeassistant:// and protocol-relative //host are now refused so a tap target can never be turned into an action on a family member's device.
    • Unknown notification type ids are also rejected, so a malformed request can no longer write stray keys into TaskMate's stored configuration. (#741)

Maintenance

Upgrading

Update through HACS and restart Home Assistant. Hard-refresh the browser (Ctrl+Shift+R) so the admin panel picks up the new hint text. No configuration changes are required.