I am trying to get this to work but I’m stuck. What I want is exactly shown at the beginning of this post. I want the first card full width and the following cards normal width.
What I understood is that I start with a vertical stack card where the banner is placed. What I do not get is where the rest of the cards come. If I place them in the vertical stack, all the cards are the full width. When I place them under the cards: from the view (first row) I only see the background image.
After the vertical-stack/banner, I’ve used 1 horizontal-stack that contains 4 vertical-stacks (4 columns).
Each vertical-stack (column) can have as many cards as you want.
Currently, I use custom:layout-card to replace the horizontal/vertical-stack combo.
Can you please post your updated ui-lovelace.yaml with the custom laycard added. I’ve been going nuts trying to convert this from old way (vertical-stack) to the new way.
Here is what I did with 4 columns in one of my views.
Just a reminder, the layout-card does not work exactly the same as just horizontal-stack/vertical-stack combos.
Hope this helps.
views:
- title: Main
id: Main
icon: mdi:home-assistant
panel: true
cards:
- type: vertical-stack
cards:
- type: custom:layout-card
layout: auto
max_columns: 4
max_width: [30%, 30%, 25%, 15%]
cards:
- type: vertical-stack
cards:
### this is a set of 2x3 camera cards in 1st column
- type: horizontal-stack
cards:
- type: vertical-stack
cards:
- < camera card 1>
- < camera card 2>
- < camera card 3>
- type: vertical-stack
cards:
- < camera card 4>
- < camera card 5>
- < camera card 6>
- < other cards in 1st column>
- break
- type: vertical-stack
cards:
- <cards in 2nd column>
- break
- type: vertical-stack
cards:
- <cards in 3rd column>
- break
- type: vertical-stack
cards:
- <cards in 4th column>
I know this article is quite old - you may not even be doing anything with HA any longer - in the off chance that you are, I wanted to say first off this is a fantastic dashboard. Sort of something that I would like to do.
I tried re-creating your .yaml files (or adding to the ones already in HA) and getting all sorts of strangeness.
Was your dashboard done with HACS implementation? (as I have not gotten that far in my setup yet - brand new to HA, moving over from HomeSeer).
@bearhntr, it’s been a while since I updated my banner but it is still working
Not sure how far you’ve got, this banner does not require anything from HACS at its simplest form, just basic lovelace UI in yaml. Once the banner/picture-elements is ready, all kinds of badge and customization can be added.
Thanks for the reply. Where specifically would your ‘script’ above go? I am trying to put everything into separate .yaml files as I build…keeping the configuration.yaml “clean”.
I was basically trying to figure out where the images went. I also tried my hand at creating a banner.png file - and was not sure on the dimensions to use for it - and then again, where to put it on the system. I am running Debian 11 and the HA Supervised installation
I am still learning and once I get a better grasp on some more of the basics, and I get everything integrated (looking at SmartThings stuff now for my Samsung Smart Appliances) – I would at some point love to have an LCARS interface on tablets mounted around the house. (LCARS is from Star Trek - The Next Generation…all of the screens on the ship)
Regarding the size of the banner image, it really depends on your display.
I created mine as 809x66. You can start with any size and adjust to fit your screen using any graphic app. It can be any image to your liking, even the LCARS image
I put my banner image file under the www folder. Just make sure you specify your folder under the allowlist_external_dirs in the configuration.yaml like:
Thanks for the reply. I am really trying to follow the steps laid out in multiple messages. I am on the HA Supervised version running on Debian 11 (non-GUI). I did add your lines to the right places (as you indicate and I created the ui-lovelace.yaml file - but as soon as I pasted in your lines (I use the Visual Basic file editor) - lots of it turned RED and then running a CONFIG CHECK - I am getting errors. So I took everything out of the configuration.yaml and the scripts.yaml file and deleted the ui-lovelace.yaml file and then rebooted. I could never get any semblance of the dashboard to what yours looks like.
Looking at the folders on my system - I do not appear to have that path you reference: I would assume the rotating red.gif you shared would go there too.
I am back (call me ‘bad penny’ ) – I created the “www” folder via the File Editor under “config” - and in there I created an “images” folder to put images (sorry - old Web Developer here).
Well I may be getting closer – This is what I get. I am not getting any errors in the CONFIG CHECK NOW - but no idea what nothing is showing. I cannot even get the BANNER2.PNG file to show either.
I got it working – It appears to have been – “where” I had placed my image files. I had put them in the wrong place. I created a new folder under CONFIG called ‘www’ and within there ‘images’ - then added the line in the homeassistant.yaml file “properly”
— I am not sure what effect the “?v=3” at the end has - but it does not seem to matter.