rianadon / timer-bar-card

A progress bar display for Home Assistant timers
Other
340 stars 15 forks source link

HA 2024.02.0b1 onwards: entity icon not displayed in Mushroom Styling #126

Closed ResteNarquois closed 4 months ago

ResteNarquois commented 5 months ago

Describe the bug Entity icon is not displayed when using Mushroom Styling. Seems to be connected to frontend changes introduced with HA 2024.02.0. Reverting to 2024.01.6 fixes the issue.

Untitled3

I do have card_mod installed, but above screenshot is with default HA light theme, with all card_mod theme classes and customisations disabled.

Maybe this recent PR for Mushroom is relevant? (mentions change to icon logic in 2024.02):

https://github.com/piitaya/lovelace-mushroom/pull/1342

Looking at the DOM, there is now an empty shadow-root after ha-state-icon where ha-svg-icon used to be:

Untitled

Your card configuration

- type: custom:timer-bar-card
  entity: timer.study_motion_sensor
  mushroom:

Debug information Untitled2

rianadon commented 5 months ago

Not again

Maybe this recent PR for Mushroom is relevant? (mentions change to icon logic in 2024.02): https://github.com/piitaya/lovelace-mushroom/pull/1342

This looks very relevant. Looks like I'll be making a release this weekend.

PablaV commented 4 months ago

Bumping this, running 2024.2.2 and the icons are still not showing up for mushroom style but do show up when using regular style

rianadon commented 4 months ago

Thanks for pinging me on this. Release coming today!