diff --git a/src/data/automation_i18n.ts b/src/data/automation_i18n.ts index 7728bebabe..6e18baeef0 100644 --- a/src/data/automation_i18n.ts +++ b/src/data/automation_i18n.ts @@ -1090,8 +1090,16 @@ const tryDescribeCondition = ( }`; } - if (condition.condition === "trigger" && condition.id) { - return `When triggered by ${condition.id}`; + if (condition.condition === "trigger" && condition.id != null) { + return hass.localize( + `${conditionsTranslationBaseKey}.trigger.description.full`, + { + id: formatListWithOrs( + hass.locale, + ensureArray(condition.id).map((id) => id.toString()) + ), + } + ); } return ( diff --git a/src/translations/en.json b/src/translations/en.json index 5bd1055b2d..4120fee790 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2689,7 +2689,10 @@ "trigger": { "label": "Triggered by", "no_triggers": "No triggers have an ID set. You can set an ID using the trigger menu button.", - "id": "Trigger" + "id": "Trigger", + "description": { + "full": "When triggered by {id}" + } }, "zone": { "label": "[%key:ui::panel::config::automation::editor::triggers::type::zone::label%]",