I’ve created 2 vertical-stacked cards using Canary. For reference reasons, I used the Corona-Virus integration for that.
All I want to achieve now is having them side by side, and I thought that works quiet straight forward with the custom:card-layout -but for me it does not.
So basically I just want them next to each other:
Am I missing logic, or is that simply not possible ?
My code so far:
views:
- title: Dev
panel: true
cards:
- type: custom:layout-card
layout: horizontal
column_width: 20%
cards:
- type: vertical-stack
in_card: false
cards:
- type: "custom:mini-graph-card"
animate: true
entities:
- entity: sensor.germany_confirmed
index: 0
font_size_header: 18
hours_to_show: 24
points_per_hour: 0.5
line_width: 4
hour24: true
decimals: 3
height: 200
name: COVID-19 Deutschland (24h)
show:
extrema: false
icon: true
- type: entities
show_header_toggle: false
style: |
ha-card {
font-size: 20px;
}
entities:
- entity: sensor.germany_confirmed
icon: "mdi:account-switch"
name: Bestätigte Fälle
- entity: sensor.germany_current
icon: "mdi:doctor"
name: Akute Fälle
- entity: sensor.germany_deaths
icon: "mdi:skull-crossbones"
name: Tote
- type: "custom:mini-graph-card"
animate: true
entities:
- entity: sensor.worldwide_confirmed
index: 0
font_size_header: 18
hours_to_show: 168
points_per_hour: 0.10
line_width: 4
hour24: true
decimals: 6
height: 200
name: COVID-19 Weltweit (1w)
show:
extrema: false
icon: true
- type: entities
show_header_toggle: false
style: |
ha-card {
font-size: 20px;
}
entities:
- entity: sensor.worldwide_confirmed
icon: "mdi:account-switch"
name: Bestätigte Fälle
- entity: sensor.worldwide_current
icon: "mdi:doctor"
name: Akute Fälle
- entity: sensor.worldwide_deaths
icon: "mdi:skull-crossbones"
name: Tote
Cheers