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

Add support for pictures to media_button_large. #21

Closed
rbisschops opened this issue Apr 7, 2020 · 3 comments
Closed

Add support for pictures to media_button_large. #21

rbisschops opened this issue Apr 7, 2020 · 3 comments
Labels
enhancement New feature, request or configuration improvement

Comments

@rbisschops
Copy link
Owner

rbisschops commented Apr 7, 2020

Add button support for entity_picture in media_button_large in the file ui-lovelace.yaml.

@rbisschops rbisschops added the enhancement New feature, request or configuration improvement label Apr 7, 2020
@rbisschops
Copy link
Owner Author

File: ui-lovelace.yaml
decluttering_template: media_button_large
Added lines:

      show_entity_picture: true
      entity_picture: /local/custom_media_icons/[[picture]]

after:

      icon: 'mdi:[[icon]]'`

@rbisschops
Copy link
Owner Author

File: mediaplayer.yaml
Each custom:decluttering-card for media mode selection
Added
- picture: xxxxx.png
After
- icon: television

@rbisschops
Copy link
Owner Author

Update tested an completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, request or configuration improvement
Projects
None yet
Development

No branches or pull requests

1 participant