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 GitHub
parent 723bb4dfeb
commit b4dbfa6f70

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">