-
Notifications
You must be signed in to change notification settings - Fork 169
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
Card_mod styling disappearing after ugrade to 3.4.4 #431
Comments
I've deleted my previous comment thinking it was only a chromium problem, clearing everything shows the problem on chromium as well |
well, without any yaml, no-one is going to be able to help you out |
I'm not really looking for help, as I can just keep running version 3.4.3. As an example the following card_mod yaml disappears when I edit my dashboard.
The issue happens for all card_mod sections for my entire dashboard. |
I had the same. Both when opening in Chrome, but also in the Android app. (I cleared cache, deleted site data). frontend: That also didn't change anything, so I rolled back to 3.4.3, which fixed the problem. |
Beware of your cache in this instance. For me, I was using this theme: https://github.com/flejz/hass-cyberpunk-2077-theme which finally broke with this update since it does some I don't think that theme will be getting updated sadly, but my experience is that 3.4.4 doesn't work the same way, but the cache sometimes tricks you for a second. There is no way that my problem is the author of this repo's, lol, so I won't suggest that. But I will be using 3.4.3 till it dies, cuz that theme is sick :/ |
Hello ! I have the same problem ! Yesterday : using 3.4.3 , my dashboard were fine, I upgraded to 3.4.4, and lost all my color customization made with card_mod. (tested on Firefox) However, a simple rollback to 3.4.3 was enough for me to solve the problem! |
Downgraded to 3.4.3 and Button Colors are back, too. |
Yep v3.4.4 broke all my card-mod themes. Went back to v3.4.3 and all is well again. (themes.yaml)
|
wow, crazy. are you all sure this isn't a cache thing, as compared to 3.4.3, 3.4.4 should only have the _renderEntity change that was needed to be compatible with HA 2025.1 |
Yes. There was much cache clearing. No difference. Edit: or no. I just updated again to get some screen shots. I can't make it fail now. |
This is just one snipp from my yaml which will not work (in app or firefox) with 3.4.4 |
well shortened..... please provide a single failing section, as it looks it the combination with mushroom? specifically mushroom, or, only as embedded card inside the button. if you want help. please make it easier for us to do so. maybe even open a dedicated issue for these specifics alone, so others can find it based on the correct title in detail |
Here is a very simple example of code from my dash, where the card-mod section disappears when I edit the code.
|
and with disappear, you mean the yaml in the UI editor? (please screenshot that) or the effect it should have I the Frontend |
right. maybe give it another clearance, reload resources, and restart, disable local cache in inspector just to be sure |
I only had a small problem - all border around my stacked in mushroom-cips-card were back after the update. |
3.4.3 seems to work fine, 3.4.4 on 2025.1.1 does not apply styling to my cards. I'll try to see if there are console errors when I can run it on a proper browser tomorrow. |
Tried deleteing card_mod 3.4.3 completely, flushed cache and restarted the system. Then installed card_mod 3.4.4 and still having the ticket issue. When using the UI edit the card_mod code disappears. Then need to completely uninstall card_mod and re-install v. 3.4.3 for it to work normally. |
@dMopp please define 'will not work' ? also, there is but 1 tiny card_mod in that config, so if that is the bit not working, just leave out the rest of the yaml, it makes helping you much easier for us |
Sorry, copied way to much:
it’s not changing the background of that specific chip with 3.4.4 |
yes, I see that too in 3.5.0, but are you sure this config worked before? or see https://community.home-assistant.io/t/card-mod-add-css-styles-to-any-lovelace-card/120744/7961 |
I'll add my issue here too. Basically the below is not working when I upgrade to 3.4.4
|
but why.... check the links in #431 (comment) |
but why would it be a mushroom issue when the only thing changed between my two screenshots is the version of card-mod being used? Screenshot 1 is HA 2025.1.1, Mushroom 4.2.1, card-mod 3.4.3 Screenshot 2 is HA 2025.1.1, Mushroom 4.2.1, card-mod 3.4.4 |
Some reason it said I had 3.5.0 installed (I don’t see a release for that so I guess it was withdrawn). Downgrading to 3.4.3 and back to 3.4.4 has it working fine. |
3.4.4 screwed-up my margins. Staying in 3.4.3 for now. |
3.4.4 has failed to apply styling for me with thermostat card, room-card, and android-tv-card, whereas 3.4.3 and before all worked fine. I did not notice problems with Mushroom cards. |
The following fails for me for custom:layout-card in 3.4.4, but works fine with 3.4.3.
I have rolled back to 3.4.3 for now, unless there are any suggestions as to a fix for this. |
Same. But I redownloaded with the 3.4.3. Reboot, And reinstalled 3.4.4. And now work fine.. Just saying. |
Tried it twice yesterday as I already read somewhere that it could help, but didn't work for me unfortunately. |
That didn't work for either unfortunately, but welcome the suggestion. Thank you. |
Also no luck here following your steps. |
The 1st post:
And what is a difference from #337 ? Starting from some post, almost all posts are not related to the issue and are just about "card-mod does not affect ..." |
Yes, I am experiencing that the code is disappearing when using the UI editor. This is the issue reported. |
There is only ONE difference between 3.4.3 & 3.4.4 - and it cannot cause this behaviour.
That is why I said that your issue is a duplicate of the present #337. |
My Home Assistant version: 2025.1.0
My lovelace configuration method (GUI or yaml):
Both
Looking at my dashboards all looks fine. When I edit a card that has card_mod styling and look at the yaml code, the card_mod styling has disappearing / is deleted from the code.
Downgraded to 3.4.3, but the problem is still there. All was working before the upgrade to 3.4.4.
Solution is to delete card_mod completely and then re-install version 3.4.3.
The text was updated successfully, but these errors were encountered: