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}
<span slot="headline">${item.primary} </span>
${item.secondary || item.type
? html`<span slot="supporting-text"
>${item.secondary} - ${item.type}</span
>`
${item.secondary
? html`<span slot="supporting-text">${item.secondary}</span>`
: nothing}
${item.statistic_id && showEntityId
? html`<span slot="supporting-text" class="code">