stack-in-card
stack-in-card copied to clipboard
Division when joining a vertical stack-in-card with a horizontal stack-in-card
Checklist:
- [X] I updated to the latest version available
- [X] I cleared the cache of my browser
Release with the issue: 0.1.0
Last working release (if known): Unknown
Browser and Operating System:
- Chrome and Windows 10
- Android and official Home Assistant app
Description of problem:
When adding an horizontal stack-in-card inside a vertical stack-in-card, the vertical division appears:
Sample of the yaml
card of the image:
type: 'custom:stack-in-card'
cards:
- type: 'custom:stack-in-card'
mode: horizontal
cards:
- type: sensor
entity: sensor.boton_de_alarma_battery
graph: line
- type: sensor
entity: sensor.boton_de_alarma_battery
graph: line
- type: sensor
entity: sensor.boton_de_alarma_battery
graph: line
Javascript errors shown in the web inspector (if applicable): None
Additional information:
- I have played with the
keep
settings without luck. - I can replace the horizontal stack-in-card by a standard horizontal-stack, but I want to play with the
keep
settings inside the horizontal stack (I want to add a margin and a shadow to the horizontal stack but not to the vertical stack).
I have this same thing happening with my horizontal stack within vertical stack.
Same behavior here too.
Same issue:
type: 'custom:stack-in-card'
mode: vertical
cards:
- type: weather-forecast
entity: weather.openweathermap
- type: 'custom:stack-in-card'
mode: horizontal
cards:
- type: entities
entities:
- entity: sensor.nextsunrise
type: 'custom:multiple-entity-row'
show_state: false
secondary_info:
entity: sensor.nextsunrise
name: false
- type: entities
entities:
- entity: sensor.nextsunset
type: 'custom:multiple-entity-row'
show_state: false
secondary_info:
entity: sensor.nextsunset
name: false
- type: conditional
conditions:
- entity: sun.sun
state: above_horizon
card:
type: entities
entities:
- entity: sensor.current_uv_level
- entity: sensor.skin_type_2_safe_exposure_time
name: Safe exposure time
- entity: sensor.uv_protection_template
name: Protection