From 5a99282b73348af74a19e48c6831d99fff946099 Mon Sep 17 00:00:00 2001 From: boern99 Date: Tue, 7 Jan 2025 18:43:54 +0000 Subject: [PATCH] removed check for stateObj.attributes.unit_of_measurement --- src/dialogs/more-info/const.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/more-info/const.ts b/src/dialogs/more-info/const.ts index 5ed123fb9acd..99d6b953215c 100644 --- a/src/dialogs/more-info/const.ts +++ b/src/dialogs/more-info/const.ts @@ -106,7 +106,7 @@ export const computeShowLogBookComponent = ( } const stateObj = hass.states[entityId]; - if (!stateObj || stateObj.attributes.unit_of_measurement) { + if (!stateObj) { return false; }