Add a title to triggered dialog (#21046)

This commit is contained in:
karwosts 2024-06-09 12:33:58 -07:00 committed by GitHub
parent f4e24bed2e
commit 6fce2f35a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -596,6 +596,9 @@ export default class HaAutomationTriggerRow extends LitElement {
private _showTriggeredInfo() { private _showTriggeredInfo() {
showAlertDialog(this, { showAlertDialog(this, {
title: this.hass.localize(
"ui.panel.config.automation.editor.triggers.triggering_event_detail"
),
text: html` text: html`
<ha-yaml-editor <ha-yaml-editor
readOnly readOnly

View File

@ -2833,6 +2833,7 @@
"unsupported_platform": "No visual editor support for platform: {platform}", "unsupported_platform": "No visual editor support for platform: {platform}",
"type_select": "Trigger type", "type_select": "Trigger type",
"unknown_trigger": "[%key:ui::panel::config::devices::automation::triggers::unknown_trigger%]", "unknown_trigger": "[%key:ui::panel::config::devices::automation::triggers::unknown_trigger%]",
"triggering_event_detail": "Triggering event detail",
"groups": { "groups": {
"entity": { "entity": {
"label": "Entity", "label": "Entity",