Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon not shown anymore #508

Closed
chemelli74 opened this issue Apr 17, 2021 · 5 comments
Closed

Icon not shown anymore #508

chemelli74 opened this issue Apr 17, 2021 · 5 comments

Comments

@chemelli74
Copy link

Since updating to latest version, icon is not shown anymore.

My lovelace code:

type: vertical-stack
cards:
  - type: 'custom:mini-media-player'
    entity: media_player.echo_dot_salotto
    icon: 'mdi:amazon-alexa'
    artwork: cover
    hide:
      source: true
      power: true
  - type: entities
    entities:
      - entity: switch.echo_dot_salotto_do_not_disturb_switch
@kongo09
Copy link

kongo09 commented Apr 17, 2021

I can confirm this. If there is no icon configured for the entity and Home Assistant assumes one (shown in light grey in the entity configuration), ´mini-media-player´ does not show any icon itself. Not the assumed one by HA and also no configured one.

image

with card configuration:

type: 'custom:mini-media-player'
entity: media_player.wohnzimmer
icon: 'mdi:amazon-alexa'
artwork: cover
hide:
  source: true
  power: true

If you set an icon in the entity configuration, ´mini-media-player´ shows that icon, regardless of what you configure in the actual card:

image

with card configuration:

type: 'custom:mini-media-player'
entity: media_player.wohnzimmer
artwork: cover
hide:
  source: true
  power: true

@kongo09
Copy link

kongo09 commented Apr 17, 2021

Duplicate of #467

Upgrading to 1.12.1 solves this, at least for me.

@kalkih
Copy link
Owner

kalkih commented Apr 18, 2021

@chemelli74 Please try the latest version and see if the problem is solved.

@chemelli74
Copy link
Author

@chemelli74 Please try the latest version and see if the problem is solved.

I opened the issue after updating to 1.21.1.
So unfortunately, it's not fixed for me.

Simone

@chemelli74
Copy link
Author

Cleared frontend cache during a HA update, and now is fine.
Closing.

Simone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants