From 5ec7193e5ce7565a47a10524fdac2980b0007f30 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 10 May 2022 16:32:09 -0500 Subject: [PATCH] Show script traces in logbook (#12643) --- src/panels/logbook/ha-logbook.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/panels/logbook/ha-logbook.ts b/src/panels/logbook/ha-logbook.ts index 5c59dfa783..0e42b26240 100644 --- a/src/panels/logbook/ha-logbook.ts +++ b/src/panels/logbook/ha-logbook.ts @@ -217,13 +217,20 @@ class HaLogbook extends LitElement { .datetime=${item.when} capitalize > - ${item.domain === "automation" && + ${["script", "automation"].includes(item.domain!) && item.context_id! in this.traceContexts ? html` -