I’m trying to change the font size of an entity-card, thought it would be a simple thing…
After about one hour of try&error I have absolutely no clue what to do.
Thank you very much for your help guys…
But everything remains the same…nothing changes.
There must be something wrong… How can I find the problem?
Whats about the error message?
I’m on the very newest Home Assistant & Mushroom (2.6.1).
Can’t help you with that error but you could ask your question in the ‘mushroom topic’.
Just try with this code to see if this works on your system and gradually modify it to your needs so maybe you find the reason for that error yourself.
Do you have problems with card_mod: everywhere, or does it work in some Views ?
make sure card_mod, in your your views “resources”
make sure you use “TAB” and not 2 “dash’s” when you make “intends”
3, the “WARNINGS” you get is not necessarily “wrong” you have to look at the pic to the right, or click save to see the outcome … The Warning is as it say “”" Du Kannst deine Konfiguration weiterhin in YAML bearbeiten. … YOU WILL almost everytime get this, when you edit in YAML in a card
PS: you get this “warning” … after … /style: /styles: /card_mod: … so obviously it’s here the “key” is, either you do something wrong here "should be a “line-break” (return-key] … and then a “TAB”
Or, you have a keyboard with a “configured/customized” Key
PS: This view you are working in, how did you create this ?
… also, in future Please show the code and the WHOLE code of the card , no picture, beside showing the outcome ( which you btw also dont show )
ABOVE is vital for further help
PS2: FWIW your initial code in first post, works just fine ! , i copied/pasted in 1 of my views , NoProblem
If i was you i would
reinstall Card_Mod ( if you installed it at all )
reboot you host
create a new view /take ownership (clean view)
If you still have problems
try another keyboard, and/or another browser
And Please NOTE: i haven’t used the word “ERROR” anywhere, as i haven’t seen it either
First of all: I didn’t knew that card_mod needs to be installed! (Yes, not very smart from my side).
But for a little excuse, I did not read anywhere that it needs any install.
Anyway… my bad! Sorry for this.
I didn’t knew that this is the point to use TAB instead of dashes… It works both (tested) but I have changed to TAB, just to be sure!
Yes, you’re right. I guessed that card_mod should be the problem, that’s the reason I’ve posted the Warning.
The View I’m working in is just the Mushroom Entity-Card,
“Edit Dashboard” → “Edit Card” → “Code-Editor”.
Sorry, my bad! I’ve posted pics instead the whole code because want to point mainly to the warning, not to the (simple) code. Noted for future problems.
Noted
You’re right, it’s just a warning, no error.
BUT: The warning is gone as well!
Thank you VERY much for your help.
I’m very new to Home Assistant and everything is just overwhelming if you try to set anything up.
Yeah, there is alot to learn in here, even for experience IT-knowledge persons
YAML you get use to eventually, sometimes it helps to " back_tap ", until warnings/errors and ODD behavior, vanish ( mostly such errors/warnings that occur during Copy/Paste … which is very(most) common way of learning here
Im also in the same situation… i dont know how to fix… all i want to do is make the text of my entity card bigger… so it will display the time with bigger numbers…
I guess above url is a good place to start, that is if non of the 3 latest posters haven’t figure out how to use the search function in top right corner
PS: There are a few other Card_mod Topics, which also might be of help