diff --git a/src/panels/lovelace/entity-rows/hui-sensor-entity-row.ts b/src/panels/lovelace/entity-rows/hui-sensor-entity-row.ts index 96ec9b3a65..1f7907b773 100644 --- a/src/panels/lovelace/entity-rows/hui-sensor-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-sensor-entity-row.ts @@ -62,7 +62,8 @@ class HuiSensorEntityRow extends LitElement implements EntityRow { return html`
- ${stateObj.attributes.device_class === "timestamp" + ${stateObj.attributes.device_class === "timestamp" && + stateObj.state !== "unavailable" ? html`