Closed bcutter closed 2 years ago
Any progress / ideas on this @thomasloven ? Maximum card width is not respected. VERY annoying.
This is the minimal thing to check this issue:
type: entities
title: 🤖 Automatisierungen
state_color: true
show_header_toggle: false
entities:
- type: custom:auto-entities
card:
type: entities
title: ''
state_color: false
show_header_toggle: false
card_mod:
style:
.: |
ha-card {
margin-left: -15px;
margin-right: -15px;
margin-top: -20px;
margin-bottom: -20px;
box-shadow: none;
}
entities: []
filter:
include:
- domain: automation
options:
secondary_info: last-triggered
exclude:
- attributes:
last_triggered: null
show_empty: false
unique: false
sort:
method: last_triggered
reverse: true
count: 25
type: entities
title: 🤖 Automatisierungen
state_color: true
show_header_toggle: false
entities:
- type: custom:fold-entity-row
head:
type: section
label: Show more
padding: 0
open: false
group_config:
state_color: true
entities:
- type: custom:auto-entities
card:
type: entities
title: ''
state_color: false
show_header_toggle: false
card_mod:
style:
.: |
ha-card {
margin-left: -15px;
margin-right: -15px;
margin-top: -20px;
margin-bottom: -20px;
box-shadow: none;
}
entities: []
filter:
include:
- domain: automation
options:
secondary_info: last-triggered
exclude:
- attributes:
last_triggered: null
show_empty: false
unique: false
sort:
method: last_triggered
reverse: true
count: 25
type: custom:state-switch
entity: input_boolean.gui_global_details
default: ''
transition: none
states:
'on':
type: entities
title: 🤖 Automatisierungen
state_color: true
show_header_toggle: false
entities:
- type: custom:fold-entity-row
head:
type: section
label: Show more
padding: 0
open: false
group_config:
state_color: true
entities:
- type: custom:auto-entities
card:
type: entities
title: ''
state_color: false
show_header_toggle: false
card_mod:
style:
.: |
ha-card {
margin-left: -15px;
margin-right: -15px;
margin-top: -20px;
margin-bottom: -20px;
box-shadow: none;
}
entities: []
filter:
include:
- domain: automation
options:
secondary_info: last-triggered
exclude:
- attributes:
last_triggered: null
show_empty: false
unique: false
sort:
method: last_triggered
reverse: true
count: 25
I was hoping latest state-switch v1.92 update (fixes & updates) improves things, but it did not. All used custom elements are from thomasloven
...and therefore I'm wondering twice how this poor outcome is possible. Please finally fix this as it renders the combined usage of state-switch with fold-entiy-row (and auto-entities) useless.
Thank you! This finally gave me a reliable way (or a way at all) to reproduce a long-standing bug.
This has been fixed in the latest state-switch 1.9.3.
Great! First tests confirm 1.9.3 finally fixed this. Really great. Thank you so much!
My Home Assistant version: 2021.10.6
Fold-entity-row version (FROM BROWSER CONSOLE): 20.0.9
What I am doing: Expand a fold-entity-row containing custom:auto-entities where some of them have a lot of text
What I expected to happen: The text is cut (
This is a very long te...
instead ofThis is a very long text text text text text text
) and whole card width is respectedWhat happened instead: Text and status/toggle elements are positioned outside the actual ha-card
Minimal steps to reproduce:
Before expanding:
After expanding (notice the right part):
Error messages from the browser console: /
Update: it´s only related to nested
custom:fold-entity-row
inside acustom:state-switch
. Butcustom:state-switch
didn´t change (only fold-entity-row had a bunch of updates during the last days) therefore I´m wondering if this can be fixed here.By putting an X in the boxes ([X]) below, I indicate that I: