diff --git a/src/components/ha-state-icon.ts b/src/components/ha-state-icon.ts
index 062da216375d..2589dc318f81 100644
--- a/src/components/ha-state-icon.ts
+++ b/src/components/ha-state-icon.ts
@@ -14,6 +14,8 @@ export class HaStateIcon extends LitElement {
@property({ attribute: false }) public stateObj?: HassEntity;
+ @property({ attribute: false }) public stateValue?: string;
+
@property() public icon?: string;
protected render() {
@@ -30,12 +32,14 @@ export class HaStateIcon extends LitElement {
if (!this.hass) {
return this._renderFallback();
}
- const icon = entityIcon(this.hass, this.stateObj).then((icn) => {
- if (icn) {
- return html`