I was just about to edit my post with my first tryā¦ here it is, but itās not aligning the text to the right. Iām trying to move the āUpstairs Thermostatā text so it aligns to the rightā¦ just to the left of the carrot.
This is a real noob question, and I know I must be missing something really simple, but I am failing to get a background image to a card when using a local file.
Iāve tried using a url to an image on the web (eg. http://wwwā¦), and that works fine. So it must be something about my local path Iām getting wrong. Am running HA on a Raspberry Pi.
Here is my code, and also a screenshot of the file location
Any help would be greatā¦ am pulling my hair out on something I know must be staring me in the face!
Hoping someone can point me in the right direction on this one, everything I try so far fails.
I want to have some buttons that show data from two sensors. Currently the only way I can see to do it is have two buttons in a vertical stack, and then somehow remove the border between them, making it visually look like one button.
Anyone got any thoughts on how this could be achieved? Basically, remove the gap between two cards in a vertical stack.
you could probably use a custom:button-card with a grid, to show those 2 values vertically on 1 button. Did you check the grid options in advanced styling?
it would make it a button-card question though so check that thread too
Have you looked at custom:stack-in-card? Should join it all together so there isnāt any space between buttons. You could have 4 of them where you join the top and bottom together in each one, or you can make one big seamless stack with no spaces in between.
Iām trying to fit in my home assistant kiosk on a Hyperpixel 4.0 square screen so i need to lower the height of an entity row avoiding a vertical scrollbar. For some reason i canāt get this to work, what iām doing wrong?
I would like to alter the look of the custom:weather-card fron Bram Kragten. I am an absolute beginner on this, and just start playing with the DOM Inspector after reading about this. I found the items i would like to change.
This is the card i want to change and below the card I changed via DOM inspector:
The changes are obvious in the header part of the card. This is the default code of the card:
type: custom:weather-card
entity: weather.home
number_of_forecasts: '5'
name: Het weer
I made an overview of the items i would like to change:
You are doing it wrong!
card-mod.js?hacstag=190927524315:5 mod-card should NEVER be used with a card that already has a ha-card element, such as weather-card
OK, Does anyone knows how to change this Card? Perhaps @bramkragten the maker of this card?
Hi @Mariusthvdb Marius,
You are right! I browsed the file weather-card.js and found the items to change. Success!
It was more the fear of the unknown; I have never done this before. AND I was hoping I could change this with the mod-card from Thomas Loven.
But it was actually quite simple. Looking back I feel myself a bit foolishā¦
Thanks for putting me in the direction.
Most probably these are very old examplesā¦
In some cases I also used kind of āha-card some_elementā.
In most cases ā:hostā & āha-cardā will not harm - but they should be omitted, actually.
Ah o.k. Thought there is some magic š§āāļø behind. ha-card was/is fine. But :host is no html element/dom-path-selector, so most probably it was never necessary, but worked with it as well by chance.