From a153720599820d0a7101f4c6248548deb71387fb Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 17 Mar 2023 04:02:11 +0100 Subject: [PATCH] Add state attribute translations for automations (#89815) --- .../components/automation/strings.json | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/homeassistant/components/automation/strings.json b/homeassistant/components/automation/strings.json index 1663443f045..4e433119a2a 100644 --- a/homeassistant/components/automation/strings.json +++ b/homeassistant/components/automation/strings.json @@ -6,6 +6,29 @@ "state": { "off": "[%key:common::state::off%]", "on": "[%key:common::state::on%]" + }, + "state_attributes": { + "current": { + "name": "Running automations" + }, + "id": { + "name": "ID" + }, + "last_triggered": { + "name": "Last triggered" + }, + "max": { + "name": "Max running automations" + }, + "mode": { + "name": "Run mode", + "state": { + "parallel": "Parallel", + "queued": "Queued", + "restart": "Restart", + "single": "Single" + } + } } } },