${picture ? this.renderPicture(picture) : this.renderIcon(entity, icon)}
${this.renderBadge(entity)}
${this.renderStateInfo(entity, appearance, nameDisplay, stateValue)};
${this._controls.length > 0
- ? html`
-
- ${this.renderActiveControl(entity, appearance.layout)}
- ${this.renderOtherControls()}
-
- `
- : null}
+ ? html`
+
+ ${this.renderActiveControl(entity, appearance.layout)}
+ ${this.renderOtherControls()}
+
+ `
+ : null}