diff --git a/src/common/entity/compute_attribute_display.ts b/src/common/entity/compute_attribute_display.ts index e43c662ba9..5fdfabe7a8 100644 --- a/src/common/entity/compute_attribute_display.ts +++ b/src/common/entity/compute_attribute_display.ts @@ -45,7 +45,7 @@ export const computeAttributeValueDisplay = ( // If invalid URL, exception will be raised const url = new URL(attributeValue); if (url.protocol === "http:" || url.protocol === "https:") - return html`${attributeValue}`; } catch (_) {