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

[Enhancement]: Update Card - Fallback to icon if entity_picture attribute doesn't exist #1380

Open
2 tasks done
theone11 opened this issue Feb 25, 2024 · 0 comments
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@theone11
Copy link

theone11 commented Feb 25, 2024

Requirements

  • I have updated Mushroom to the latest available version
  • I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?

Some update entities do not have an attirbute entity_picture to use when icon_type is defined as entity-picture.

Describe the solution you'd like

If no entity-picture attribute found (no attribute defined) for the update entity then fallback and use the defined icon in the card's settings.

Describe alternatives you've considered

No response

Additional context

No response

@theone11 theone11 added the enhancement New feature or request label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant