-
Notifications
You must be signed in to change notification settings - Fork 38
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
Cards: sections reloading/refreshing causing flickering #283
Comments
Can you share your yaml? |
Can confirm same observation on Android 14.
…On Sun, Oct 29, 2023, 22:34 systanford ***@***.***> wrote:
*Which version of Room Card?*
1.08.02
*Describe the bug*
When using Firefiox, Cards listed under cards: repeatedly reload/refresh
causing a flickering effect.
experiencing issue with weather cards, media control, markdown cards,
*To Reproduce*
Load a page with Room Card featuring a card: element
*Expected behavior*
cards should be static.
*Screenshots*
*Desktop (please complete the following information):*
- OS: windows 11
- Browser: Firefox
- Version: 118.0.2 (64-bit)
*Smartphone (please complete the following information):*
unaffected as far as I can tell
*Additional context*
cant be 100% sure, but think it started after latest HA update
—
Reply to this email directly, view it on GitHub
<#283>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACURVVAJIBPHQ45Q4F5IHGTYB24TVAVCNFSM6AAAAAA6VDTURWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DOMJWGI4DCNY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
|
I can't help without |
anyway I can send privately? |
Rather not. But you can mask your sensitive data in the yaml |
This comment has been minimized.
This comment has been minimized.
Haha that's a lot of yaml. Can you limit it to the dashboard that flickers? Or are they all flickering? |
you asked and I provided haha Thats just one dashboard All cards that use 'cards:' flicker
|
Ah ok. I have to admit, this is the most complex use of my room card. Could be that you ask too much of it and the companion app/browser struggles. Other than that, if your info_entities is null, it's better to remove them from the config. Try to start every entity, info_entity and card with the entity property as high as possible in the declaration. I'm afraid I can't help you with this other than give you tips. It could be the things I've mentioned above, but it could also be one of the entities that's on the cards. Try and rebuild one of the flickering Dashboards step by step and try to find out when it starts flickering |
It's happening with clean/new dashboard, with a basic set up as below. The problem doesnt occur in the companion app.
|
Does it flicker when you remove 'entity: null' ? |
Unfortunately yes |
I know that every mediaplayer type card refreshes a lot. I see I've got the same issue now I'm playing media and the media player card pops up. Only the card part flickers right? |
Hmm weird, I see the flickering in the browser on my phone, but not on my laptop. |
Yeah, just the card part, Props for the room-card though. |
Haha good to hear that! Don't think its the card tbh. I've tested it on my work laptop too just now, and there it also doesnt flicker. But it does on my phone. Super weird. I've tried different resolutions but that doesnt matter. Let me check what the last HA update changed |
I'm also experiencing the issue on safari and firefox on my iPhone, but not the iOS companion app. Just tested for certainty sake, the aforementioned cards don't flicker outside of room-card for me. |
That that don't flicker outside the card is expected, room-card is just another layer between if they are in the room-card. Do you have a laptop or a tablet? Can you test with that? |
I'm in the design world... I'm deep in the ecosystem 🤣 already on it... bare with me |
OK, so... The following all experience the issue iPhone
PC, Windows 11,
Macbook Pro,
|
I think I'm experiencing the same issue with the Android companion app as well. The custom:collapsable-cards entry keeps resetting to the collapsed position due to the media player cards refreshing. Not sure if it's something to do with room-card specifically though.
|
Can confirm I started experiencing this behavior also. |
Using Firefox on a PC, and Android Companion app I experienced the same behavior with the custom collapsible card which keeps on collapsing. I do not have any media player, just entity cards with sensors. I reverted to Room Card 1.08.01 and the issue stopped. |
I tried reverting to 1.08.01.... No good for me. Shows what it is doing: Screen.Recording.2023-11-07.at.12.02.08.PM.movAnd this is the code.
|
And without the mushroom card? |
Interestingly no... seems fine. But i have mushroom cards at the top of the page that don't seem to be doing it. So there is something with the mushroom cards within the room card. |
But are the mushroom cards on top in a room card? But why are you using it like this? XD |
No. So it only seems to happen to the mushroom chips that are within the room card. |
Because there was something about the chips that I liked... I just can't remember what. Some flexibility that didn't exist in the straight room card. |
What I see in the video is possible in the room card |
I can reproduce the flickering of the room card in various scenarios. It is not related to the mushroom cards, but occurs as soon as I use templating in my auto-entities. The following configuration flickers:
The flickering does not occur with version 1.08.00 of the room-card. |
Just to confirm, having re-read my previous responses, reverting to 1.08.00 of room-card has stopped the issue for me. Re-downloading versions 1.08.01 or 1.08.02 of room-card has instances repeatedly flicker/refresh again. |
A this late stage, I don't know if it helps but I had the same problem with media refreshing every five seconds or so when using media control options in the card. As soon as I removed the media_player command in the card, the problem was resolved. |
I'm a new user of room-card, and downloaded 1.08.02 today. I have the same flickering issue whenever I embed any form of media card into room-card. Here's an example of it happening side by side with the same card not embedded on the left: Here's my yaml:
Any help would be appreciated. |
V 1.08.02 This only happens with cards, not with entities or entity-info. Video: https://gyazo.com/69a96358431fb6df6c3b2d754cf2a477 Edit: Looking at your render-method, I see that you 'createCardElement' for every render.
|
I see what buttons and stuff you have in the room card, but wouldn't it be better to use another card for this case? The room card isn't designed for this. You are using it more like a button card now |
I'm using 4 different room-cards, with this being the only one enveloping other cards (since I needed somewhere to put my blinds). |
Can confirm this is NOT happening in 1.07.30. (it not reproing in 1.07.30 might be a red-herring based on states not being tracked/forwarded, and thus an update never occurring?) Edit: Repro's in 1.07.30 whenever layout changes (e.g. when moving from portrait to landscape) or when switching from/to view. |
I've rolled back to 1.07.30 today and can confirm it's still doing it. |
Which version of Room Card?
1.08.02
Describe the bug
When using Firefiox, Cards listed under cards: repeatedly reload/refresh causing a flickering effect.
experiencing issue with weather cards, media control, markdown cards,
To Reproduce
Load a page with Room Card featuring a card: element
Expected behavior
cards should be static.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
unaffected as far as I can tell
Additional context
cant be 100% sure, but think it started after latest HA update
The text was updated successfully, but these errors were encountered: