Hi
@tom_l
since I didn’t want to hijack your thread What does your deafult page look like? any longer, please let me ask in a separate topic here:
How do you prevent the cards from resizing depending on the content? Would that be a setting in the monograph configs, the card modder, or maybe even in the entity configs?
I have 2 that are out of the rest, which I copied from your setup:
The pressure card is too long, probably because the UoM doesn’t fit, and the Winddirection is too short, think it is also the case in your setup.
How could I change that?
for others, this is the code:
- type: 'custom:vertical-stack-in-card'
title: Weer
cards:
- type: horizontal-stack
cards:
- type: 'custom:card-modder'
style:
border: solid 2px var(--primary-color)
border-radius: 6px
transform: scale(0.925)
card:
type: 'custom:mini-graph-card'
entities:
- sensor.br_temperature
color_thresholds:
- color: '#039BE5'
value: -10
- color: '#0da035'
value: 0
- color: '#e0b400'
value: 20
- color: '#e45e65'
value: 30
color_thresholds_transition: hard
group: false
hour24: true
line_width: 3
points_per_hour: 12
show:
icon: true
labels: false
name: true
state: true
- type: 'custom:card-modder'
style:
border: solid 2px var(--primary-color)
border-radius: 6px
transform: scale(0.925)
card:
type: 'custom:mini-graph-card'
entities:
- sensor.dark_sky_apparent_temperature
color_thresholds:
- color: '#039BE5'
value: -10
- color: '#0da035'
value: 0
- color: '#e0b400'
value: 20
- color: '#e45e65'
value: 30
color_thresholds_transition: hard
group: false
hour24: true
line_width: 3
points_per_hour: 12
show:
icon: true
labels: false
name: true
state: true
- type: 'custom:card-modder'
style:
border: solid 2px var(--primary-color)
border-radius: 6px
transform: scale(0.925)
card:
type: 'custom:mini-graph-card'
entities:
- sensor.dark_sky_dew_point
color_thresholds:
- color: '#039BE5'
value: -10
- color: '#0da035'
value: 0
- color: '#e0b400'
value: 10
- color: '#e45e65'
value: 20
color_thresholds_transition: hard
group: false
hour24: true
line_width: 3
points_per_hour: 12
show:
icon: true
labels: false
name: true
state: true
- type: horizontal-stack
cards:
- type: 'custom:card-modder'
style:
border: solid 2px var(--primary-color)
border-radius: 6px
transform: scale(0.925)
card:
type: 'custom:mini-graph-card'
entities:
- sensor.br_humidity
color_thresholds:
- color: '#039BE5'
value: 20
- color: '#0da035'
value: 50
- color: '#e0b400'
value: 65
- color: '#e45e65'
value: 80
color_thresholds_transition: hard
group: false
hour24: true
line_width: 3
points_per_hour: 12
show:
icon: true
labels: false
name: true
state: true
- type: 'custom:card-modder'
style:
border: solid 2px var(--primary-color)
border-radius: 6px
transform: scale(0.925)
card:
type: 'custom:mini-graph-card'
entities:
- sensor.br_pressure
color_thresholds:
- color: '#039BE5'
value: 0
- color: '#0da035'
value: 1000
- color: '#e0b400'
value: 1020
- color: '#e45e65'
value: 1030
color_thresholds_transition: hard
group: false
hour24: true
line_width: 3
points_per_hour: 12
show:
icon: true
labels: false
name: true
state: true
- type: 'custom:card-modder'
style:
border: solid 2px var(--primary-color)
border-radius: 6px
transform: scale(0.925)
card:
type: 'custom:mini-graph-card'
entities:
- sensor.br_precipitation
color_thresholds:
- color: '#039BE5'
value: -50
- color: '#0da035'
value: 2
- color: '#e0b400'
value: 4
- color: '#e45e65'
value: 8
color_thresholds_transition: hard
group: false
hour24: true
line_width: 3
points_per_hour: 12
show:
icon: true
labels: false
name: true
state: true
- type: horizontal-stack
cards:
- type: 'custom:card-modder'
style:
border: solid 2px var(--primary-color)
border-radius: 6px
transform: scale(0.925)
card:
type: 'custom:mini-graph-card'
entities:
- sensor.br_wind_speed
color_thresholds:
- color: '#039BE5'
value: 0
- color: '#0da035'
value: 10
- color: '#e0b400'
value: 20
- color: '#e45e65'
value: 30
color_thresholds_transition: hard
group: false
hour24: true
line_width: 3
points_per_hour: 12
show:
icon: true
labels: false
name: true
state: true
- type: 'custom:card-modder'
style:
border: solid 2px var(--primary-color)
border-radius: 6px
transform: scale(0.925)
card:
type: 'custom:mini-graph-card'
entities:
- sensor.br_wind_gust
color_thresholds:
- color: '#039BE5'
value: 0
- color: '#0da035'
value: 10
- color: '#e0b400'
value: 20
- color: '#e45e65'
value: 30
color_thresholds_transition: hard
group: false
hour24: true
line_width: 3
points_per_hour: 12
show:
icon: true
labels: false
name: true
state: true
- type: 'custom:card-modder'
style:
border: solid 2px var(--primary-color)
border-radius: 6px
transform: scale(0.925)
card:
type: glance
entities:
- entity: sensor.br_wind_direction
columns: 1
show_name: true
show_state: true
thanks for having a look