Remove debug type in secondary line in statistic picker (#25835)

This commit is contained in:
Paul Bottein 2025-06-18 17:44:27 +02:00 committed by Bram Kragten
parent 7f7e693547
commit 5ac6781f7d

View File

@ -438,10 +438,8 @@ export class HaStatisticPicker extends LitElement {
` `
: nothing} : nothing}
<span slot="headline">${item.primary} </span> <span slot="headline">${item.primary} </span>
${item.secondary || item.type ${item.secondary
? html`<span slot="supporting-text" ? html`<span slot="supporting-text">${item.secondary}</span>`
>${item.secondary} - ${item.type}</span
>`
: nothing} : nothing}
${item.statistic_id && showEntityId ${item.statistic_id && showEntityId
? html`<span slot="supporting-text" class="code"> ? html`<span slot="supporting-text" class="code">