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