1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

Change event logbook message (#17449)

This commit is contained in:
Bram Kragten
2023-08-01 10:44:15 +02:00
committed by GitHub
parent ece676e3dc
commit 41643b20e7
2 changed files with 5 additions and 0 deletions

View File

@@ -345,6 +345,10 @@ export const localizeStateMessage = (
break;
case "event": {
return localize(`${LOGBOOK_LOCALIZE_PATH}.detected_event_no_type`);
// TODO: This is not working yet, as we don't get historic attribute values
const event_type = computeAttributeValueDisplay(
hass!.localize,
stateObj,