Skip to content

Explain the alert event in the Event Bus help, and link its fields - #49

Merged
cayossarian merged 3 commits into
mainfrom
feat/alert-name
Nov 24, 2026
Merged

cayossarian merged 3 commits into
mainfrom
feat/alert-name

Conversation

@cayossarian

Copy link
Copy Markdown
Member

What

The Monitoring tab's Event Bus help now says, with the Event Bus selected, what the span_panel_current_alert event carries, and links to the full field list in the integration's frontend.md. Before, it showed a bare list of payload keys. alert_display_name is gone from the event (SpanPanel/span: alert_name now carries the Home Assistant name), so it is gone from the help.

Changes

  • eventBusHelpHTML() renders one translated sentence, with the event name as the only markup, and a link that opens in a new tab with rel="noopener noreferrer". The text is in all five languages.
  • notification.event_bus_payload is removed.
  • CHANGELOG.md carries the maintainer's rewording of the 0.12.1 section.
  • The version is 0.12.1-beta.4, and dist/ is rebuilt in its own commit.

Tests

  • tests/monitoring-tab-event-help.test.ts checks the sentence, the event name and the link in each language. Each case fails against the old key list.
  • npm test: 1834 passed, exit 0. Lint, typecheck and i18n validation are clean.

…ink its fields

The help listed the span_panel_current_alert payload keys bare. It now says, with the Event Bus selected, what the event carries, and links to the field list in the integration docs. alert_display_name is gone from the event, so it is gone from the help.

The changelog carries the maintainer's rewording of the 0.12.1 section.
@cayossarian
cayossarian merged commit 8621bce into main Nov 24, 2026
2 checks passed
@cayossarian
cayossarian deleted the feat/alert-name branch November 24, 2026 05:50
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