From 63c995e5daa6a3968e1c440867ff80085b8d5949 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 24 Aug 2020 12:24:24 -0500 Subject: [PATCH] cleanups --- src/panels/logbook/ha-logbook.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panels/logbook/ha-logbook.ts b/src/panels/logbook/ha-logbook.ts index 635a4113a1..af886126d3 100644 --- a/src/panels/logbook/ha-logbook.ts +++ b/src/panels/logbook/ha-logbook.ts @@ -120,10 +120,10 @@ class HaLogbook extends LitElement { > ${!item.context_event_type ? "" - : item.context_event_type == "call_service" + : item.context_event_type === "call_service" ? // Service Call html` by service ${item.context_domain}.${item.context_service}` - : item.context_entity_id == item.entity_id + : item.context_entity_id === item.entity_id ? // HomeKit or something that self references html` by ${item.context_name