We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69fe507 commit 73d1ae9Copy full SHA for 73d1ae9
src/cards/components/room-state-icon/room-state-icon.ts
@@ -160,7 +160,11 @@ export class RoomStateIcon extends HassUpdateMixin(LitElement) {
160
this._hideIconContent = this.isMainRoomEntity
161
? this._config?.background?.options?.includes('hide_icon_only') || false
162
: false;
163
- this.image = false;
+
164
+ // regression fix for #383 - in future handle the image logic internally
165
+ // but this resets the image to false when the entity_picture is removed for #333 still
166
+ this.image =
167
+ this._config?.background?.options?.includes('icon_background') ?? false;
168
}
169
170
this._hass = hass;
0 commit comments