Skip to content

Commit

Permalink
Add a title to triggered dialog (#21046)
Browse files Browse the repository at this point in the history
  • Loading branch information
karwosts authored Jun 9, 2024
1 parent f4e24be commit 6fce2f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,9 @@ export default class HaAutomationTriggerRow extends LitElement {

private _showTriggeredInfo() {
showAlertDialog(this, {
title: this.hass.localize(
"ui.panel.config.automation.editor.triggers.triggering_event_detail"
),
text: html`
<ha-yaml-editor
readOnly
Expand Down
1 change: 1 addition & 0 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2833,6 +2833,7 @@
"unsupported_platform": "No visual editor support for platform: {platform}",
"type_select": "Trigger type",
"unknown_trigger": "[%key:ui::panel::config::devices::automation::triggers::unknown_trigger%]",
"triggering_event_detail": "Triggering event detail",
"groups": {
"entity": {
"label": "Entity",
Expand Down

0 comments on commit 6fce2f3

Please sign in to comment.