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

v1.16.3 causing cards to disappear #657

Closed
conorlap opened this issue May 5, 2022 · 18 comments
Closed

v1.16.3 causing cards to disappear #657

conorlap opened this issue May 5, 2022 · 18 comments
Labels
bug Something isn't working

Comments

@conorlap
Copy link

conorlap commented May 5, 2022

v1.16.3 is causing any cards with the mini-media-player attached to disappear.
I went back to v1.16.2 and everything was fine again.

@spacegaier
Copy link
Contributor

What do you mean by "attached"? Single card use works fine for me, meaning the mini-media-player used as its own card.

@conorlap

This comment was marked as outdated.

@conorlap conorlap closed this as completed May 5, 2022
@ThirteenTX
Copy link

I am having this issue now as well. Reboot did not solve it.

@kalkih
Copy link
Owner

kalkih commented May 5, 2022

Can you explain the issue in more detail, what do you mean by any cards with the mini-media-player attached ?

@kalkih kalkih reopened this May 5, 2022
@kalkih kalkih added the bug Something isn't working label May 5, 2022
@conorlap
Copy link
Author

conorlap commented May 5, 2022

I've got my mini media player cards embedded within custom:stack-in-card and mushroom cards for styling. Can confirm the issue is back again for me.

@conorlap
Copy link
Author

conorlap commented May 5, 2022

Screenshot_20220505-230913_Chrome
The screenshot is how it looks on v1.16.2

on v1.16.3 nothing within that stack of cards shows

@kalkih
Copy link
Owner

kalkih commented May 5, 2022

Thanks for the information.

Unpublished the latest release for now and made it a beta release instead, will have to look into this further and try to re-create the issue in my environment, any potential error logs or any other additional information is very welcome :)

@ThirteenTX
Copy link

Mine are also "in a stack cards" Either the default vertical stack from Home assistant or the "Custom: stack in a card" from HACS. Either way both worked before this version.
image
image

@kalkih kalkih pinned this issue May 5, 2022
@ThirteenTX
Copy link

Thanks for the information.

Unpublished the latest release for now and made it a beta release instead, will have to look into this further and try to re-create the issue in my environment, any potential error logs or any other additional information is very welcome :)

I was using Firefox on the latest version. I can try and see if there was any errors I can find in the morning.

@ThirteenTX
Copy link

ThirteenTX commented May 6, 2022

I am no web developer but I went poking around and found this in the debugger. Don't know if this helps.
Uncaught (in promise) TypeError: this._attr is undefined get updatedAt mini-media-player-bundle.js:200 get idleView mini-media-player-bundle.js:200 se mini-media-player-bundle.js:200 set hass mini-media-player-bundle.js:1389 value hui-light-card.ts:35 _$AE app.0c493f99.js:1248 performUpdate app.0c493f99.js:1248 scheduleUpdate app.0c493f99.js:1248 _$EC app.0c493f99.js:1248 4 [mini-media-player-bundle.js:200:12603](https://domain.duckdns.org:8123/hacsfiles/mini-media-player/mini-media-player-bundle.js?hacstag=1485208381163)

There was also a learn more button at the bottom of that error which is here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Unexpected_type . Let me know if there is anything else I can do to assist.

@spacegaier
Copy link
Contributor

Can someone please provide a concrete (minimal) example with the corresponding YAML configuration of the bug? Currently there is not much to go on.

Just adding the mini-media-player into a HA vertical-stackworks just fine for me.

type: vertical-stack
cards:
  - type: custom:mini-media-player
    entity: media_player.sonos_living_front
@spacegaier
Copy link
Contributor

Based on the stack trace provided above it looks a bit like the issue here #658. Can you please confirm that you are using the idle feature? As a test, if it works without it, then I think this issue here can be closed as a duplicate.

@ThirteenTX
Copy link

type: vertical-stack
cards:
  - type: custom:mini-media-player
    entity: media_player.sonos_living_front

Sure.
image
image

It works with the default YAML you provided.

@spacegaier
Copy link
Contributor

It works with the default YAML you provided.

And when does it start failing? Once you enable the idle view feature?

@ThirteenTX
Copy link

Based on the stack trace provided above it looks a bit like the issue here #658. Can you please confirm that you are using the idle feature? As a test, if it works without it, then I think this issue here can be closed as a duplicate.

You are correct, this must be the idle view issue as removing it made it show back up.

@mfabiani53
Copy link

Same problem here. I tried to find 1.16.2 but no success...

@kalkih
Copy link
Owner

kalkih commented May 10, 2022

v1.16.2 gets unpublished automatically here on GitHub for some strange reason... I've republished it now.
New release should be out tomorrow.

@kalkih
Copy link
Owner

kalkih commented May 11, 2022

Thank you for your patience!
New release available, should fix these issues, let me know if it doesn't 🙂

@kalkih kalkih closed this as completed May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
5 participants