Restore proper state badge image behavior (#10369)

This commit is contained in:
Philip Allgaier
2021-10-22 14:09:23 +02:00
committed by GitHub
parent 95c6adc739
commit bbbeafcc92

View File

@@ -77,7 +77,7 @@ export class HaStateLabelBadge extends LitElement {
const domain = computeStateDomain(entityState);
const showIcon = this.icon || this._computeShowIcon(domain, entityState);
const image = showIcon
const image = this.icon
? ""
: this.image
? this.image