Closed rgogada closed 1 year ago
"grid-area" under "view_layout" is not working . its just ignoring this setting and rendering a 2 column grid
here is the code
- type: 'custom:auto-entities' filter: include: - domain: camera options: type: custom:webrtc-camera entity: this.entity_id view_layout: grid-area: '{{ states.this.entity_id.entity_id.split(".")[1] }}' card: type: 'custom:layout-card' layout_type: custom:grid-layout layout: grid-template-columns: repeat(2, minmax(auto, 400px)) grid-template-rows: auto grid-template-areas: '"frontyard frontyard" "entrance sideyard" "study stairs" "lounge backyard" "porch garage"' margin: auto cards: []
I doubt that someone can repeat your conditions to help you. Create a simple MWE (which may be tested by someone else as well) and check if the problem occurs.
Templates only work i template.
template
"grid-area" under "view_layout" is not working . its just ignoring this setting and rendering a 2 column grid
here is the code