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

Background disappears after update to 1.10.2 #393

Closed
BradAndAU opened this issue Aug 17, 2020 · 2 comments · Fixed by #402
Closed

Background disappears after update to 1.10.2 #393

BradAndAU opened this issue Aug 17, 2020 · 2 comments · Fixed by #402
Labels
bug Something isn't working

Comments

@BradAndAU
Copy link

BradAndAU commented Aug 17, 2020

I use mini-media-player to control basic functions of my Sony smart tv and show a background image, since updating to 1.10.2 when I turn the tv on the background image disappears, I also use it for a chromecast on another tv and the same thing happens. Reverting back o 1.10.1 fixes for now.

        - type: custom:mini-media-player
          style: |
            :host {
                --ha-card-background: var(--button-background-color);
                --ha-card-border-radius: 20px;
                --ha-card-box-shadow: -8px -8px 8px 0 var(--box-shadow-top),8px 8px 8px 0 var(--box-shadow-bottom);
                font-family: var(--font-family);
                font-size: 16px;
            }
          entity: media_player.living_room_tv
          name: TV
          icon: mdi:television
          background: /local/tv.png
@kalkih kalkih added the bug Something isn't working label Aug 18, 2020
@silver0007
Copy link

Yep, same here. When state is "off" all backgrounds disappears (I use 3 different entities). During UI configuration in visual editor, background picture blinks few times before disappearing.

@kalkih kalkih linked a pull request Aug 23, 2020 that will close this issue
@kalkih kalkih closed this as completed Aug 23, 2020
@silver0007
Copy link

Thank you @kalkih for a fix. Works as a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants