diff --git a/src/components/ha-attributes.ts b/src/components/ha-attributes.ts index 933ed41d19..892148e664 100644 --- a/src/components/ha-attributes.ts +++ b/src/components/ha-attributes.ts @@ -34,7 +34,7 @@ class HaAttributes extends LitElement { (attribute) => html`
- ${attribute.replace(/_/g, " ").replace("id", "ID")} + ${attribute.replace(/_/g, " ").replace(/\bid\b/g, "ID")}
${this.formatAttribute(attribute)}