Closed RemcoveHA closed 1 year ago
Ok it turns out the problem is with the Layout-Card plugin itself and not with the type of layout I chose. The only version that makes sure the cards stay visible is the standard masonary option from HA itself. Even the Masonary option from Layout-card lets the cards dissapear.
views:
- theme: Backend-selected
title: Home
type: custom:grid-layout
icon: mdi:home
layout:
grid-template-columns: 1fr 1fr 1fr
grid-template-rows: auto
grid-template-areas: |
"header header header"
". messages ."
"left middle right"
"footer footer footer"
mediaquery:
'(max-width: 500px)':
grid-template-columns: 1fr
grid-template-areas: |
"header"
"messages"
"left"
"middle"
"right"
"footer"
'(max-width: 1000px)':
grid-template-columns: 1fr 1fr
grid-template-areas: |
"header header"
"messages messages"
"left right"
"middle middle"
"footer footer"
badges: []
cards:
#end of code
Anyone able to help?
My Home Assistant version: 2023.2.3
Layout-card version (FROM BROWSER CONSOLE): 2.4.4
What I am doing: I am currently trying to make a dashboard for my tablet via de grid option.
What I expected to happen: I want to make 3 columns for now) with multiple rows. Some cards spend over more then one or two rows.
What happened instead: Cards disappear after a few seconds on my tablet. On my browser the view stays. It seems to only happen in the GRID variant. I currently just added a random 6 light switched in the horizontal variant and they stay visible on the tablet.
Minimal steps to reproduce:
Error messages from the browser console:
By putting an X in the boxes ([X]) below, I indicate that I: