As soon as I switch from editing card to dashboard edit or later to normal dashboard view I get this:
More over, in 3.5.0 also card height is not respected after quiting rditor. As you can see difference on screenshots. Card height is handled on parent picture-elements card by following code:
yes, 3.5.0 has several serious challenges, and maybe some left over issuesā¦
butā¦ Iāve already managed to fix all of my theme classes, and all badges.
next up are my stack cards and indeed some grid backgrounds showing my custom:button-card configs.
button-card itself seems untouched (at least, in my rather extensive config, all buttons seems correct as far as I can see now) and you should really be able to set the background to none, did you try that too?
I am trying my darnest to change the color of the āswingā button on the theromstat card (yellow arrow pointing to it in my screenshot). My yaml is below and the html I am going off is also attached.
I have read the docs and still canāt manage to do it!
Iām trying to do a blink effect on my bagdes (eg when a door is open). I got successful with the following code, but this applies the āblinkā-effect to the whole badge including text and icon.
Question: How can i restrict the effect just to the background color without having text and icon blink as well?
another day, another challenge: card-mod 3.5.0 is removed, we need to downgrade to the new 3.4.4 now.
I did ask for something like that, but sincerely hope the successful migration out of mod-card, and the badges still holdsā¦
It would have hold, if there were not all the complains ānot working anymoreā in githup without at least trying to change the code to hui_card instead of ha_card.
Ofc you have to rework some parts and start 1-2 level above the old structure, but the benefit was big with this approach.
thatās why I tried to post as many successful examples I saw relevant.
However, there also were several (rather important) non tested changes that caused trouble in entities cards, as my screen above illustrates.
I figure Thomas will now try to mitigate those and release several minor updates fixing those
update
well, this is a bit of a pain nowā¦
not all 3.5.0 left over challenges are reverted, but also many of its improvements are no longer thereā¦ classes, badge stylings, no more mod-card for stacksā¦
not sure what to do now.
since there are no release notes on the actual changes we have to find out ourselves, and that is not an easy task
The problem with this approach is whilst its fine for people who know about coding for those of us that are less experienced no documentation or guidance was provided on how to change from ha-card to hui-card.
Iām more than happy to go through my dash changing things over if I knew how but I simply donāt. I have a lot of stack in cards on my dash and they hall broke when using 3.5.0.
Some also use mod-card which I believe is also being depreciated.
If there is a better of way doing the below then Iām all ears and more than happy to modify my dash.
thing is, weāre in a bit of an interbellum right nowā¦
the mod-card change was an easy change, (and I too have been editing all of my cards yesterdayā¦)
But this has now been reverted, and nobody knows whether they will return anytime soon. In other words, what to do.
Easy doesnāt mean not a lot of work. So here we are. do we again edit all of the cards to get it working for now, only to expect a reinstatement in the next few days/weeks, orā¦
because of the above, there is no sound advice I am afraid, youād probably be best off with your former configs if you still have them and wait and see
(personally, I just reinstated 3.5.0 which I had saved, and enjoy the improvements. Maybe I can still find a way to fix the box-shadow and margins in the entities cards after all. If not, Ill rewrite some of those cards and modernize them )
Yes I have re-added mod-card for now, I did try to update a few yesterday and remove mod-card but then this also broke other things like you say such as margins, font size, font weight etc.
Iāll hang fire for now until the recommended way is defined as like you I would also like to modernise. I normally just need to see a few examples then I can grasp the concept pretty well.
Why do you thinks so? There is only one change between 3.4.3 and 3.4.4
For me not needed. Thomas said, that it now starts with hui-card and not ha-card from now.
But I didnāt read anyone update their code from
.: |
to something like (not updated and tested, but something like this should be the only needed change as just the starting point would be more above) before just posting āold way not working anymoreā.
hui-entities-card $ ha-card $: |
or most probably just generic
$ ha-card $: |
But I fear Thomas will not jump into it again, if no one (itās not against you personally, there were other/differen examples in the last days) tries to adapt to the (great!) changes before just posting "not working). If I were him, I wouldnāt feel like it either. But I have just seen a āwill beā from him. So fingers coressed.
tbh, you have a lot of words for the people that actually did jump in, and tested, tried and reported back, without updating yourself, and watching others try to understand the actual changes.
the very short description we got might be understandable for the savvy card-modders amongst us, but it is more than understandable many didnt fully grasp the extent of the major and breaking update.
as you say yourself:
makes it clear youāre also uncertain, or merely supposing.
Why not jump in yourself and help out the community with this great update.
to answer that, well, because I did test all of that, and noticed that the successful changes from 3.5.0 (badges/mod-card gone for stacks/classes) are also reverted in 3.4.4
as said, Ive re-updated to 3.5.0 and for now am in the process of rewriting stacked entities cards to vertical-stacks, as that is fully supported and straightforward.
Hoping to find a way to get the borders and margins back on entities cards with embedded cards.
I only said and gave the link that everything beside renderEntity has been reverted. So there are no 3.5.0 challenges/things introduced by 3.5.0 in the card_mod anymore. Thatās a fact. If you mean with your sentence, that you have still adaption in your UIs left over, which you started because of 3.5.0 then I missunderstood and it was not clear for me.
No, t.b. honest Iām not. I only gave a direct proposal on basis of Thomasā info that you have to start now 2 levels above. But I didnāt see any try of this on Thomasā gitgub before they all said āold style is not working anymoreā. Ofc it isnāt, because of the change. I would be fine with: āhere my try of adaption to new way, but it is not workingā, but there wasnāt. Thats what I only wanted to mention.
Please let me and my life decide when Iām able to update and when not.
For now reverted to 3.4.3 and upgraded to 3.4.4ā¦ Everything working fine so far. Iāll recheck once next update available.
In meantime, checking more of my dashboard I noticed the same issue with markdown card placed within grid cardā¦ also lost transparrent background. Again 3.4.4 fixed this, so also for this Iāll wait for next release.
I have a simple tile card for an input_datetime (time only). The minimum width is 6 (grid_options: columns: 6), but that is a lot of wasted space.
Is it posisble to modify the --column-size css property of the parent div that contains the ha-card, or is there a better option to achieve a less-wide card? My current config:
that goes without saying, I was merely hoping you would be able to help us out.
but, maybe you would be able to see what should be done in this case (consider the 3.5.0 update with changed elements)
a simple entities card with only 1 embedded auto-entities.
the card_mod setting the box-shadow there and some margins