thomasloven / lovelace-fold-entity-row

🔹 A foldable row for entities card, containing other rows
MIT License
561 stars 37 forks source link

Icons not displaying anymore since HA version 2023.2.x #236

Closed bdormael closed 1 year ago

bdormael commented 1 year ago

I have noticed that after upgrading to HA 2023.2.x icons are not being displayed or formatted as before.

It’s the same issue as mentioned in custom:template-entity-row : https://github.com/thomasloven/lovelace-template-entity-row/issues/100


- type: custom:fold-entity-row
        head:
          type: custom:template-entity-row
          icon: mdi:thermometer
          name: Temperaturen
          state: >-
            Buiten {{ state_attr("weather.forecast_thuis",
            "temperature")|round(1)}} °
        entities:
          - type: custom:template-entity-row
            icon: mdi:thermometer
            name: Beneden
            state: >-
              {{ state_attr("climate.beneden","current_temperature")|round(1)}}
              °
            tap_action:
              action: none

Schermafbeelding 2023-02-04 om 08 05 24

Oekn5w commented 1 year ago

seeing as you are also using the template entity here like in the referenced issue, I'd say the fix to it would also fix it here, can you check with normal entities (or check the proposed fix to the template row)? I currently don't have 2023.2 to check

bdormael commented 1 year ago

I’ve tried that fix for the template entity but that doesn’t work for me either. Probably I’m doing something wrong (I cleared also the cache). That’s why I posted it here as well. Probably I’m not that technical to implement that fix manually

Daverover66 commented 1 year ago

I'm having the same issue with icons not showing in template-entity-row and the suggested workaround by editing the .js file and clearing the cache did not work for me either.

ildar170975 commented 1 year ago

@bdormael Why is this issue is created here? It is only about template-entity-row. This issue must be closed, do not mix things & confuse people.

bdormael commented 1 year ago

indeed, it is only about template-entity-row. At the time of logging this issue I wasn't aware.