Hi co-users
I’m trying to resize my custom.mini-graph-card in the middle so it won’t stretch with my light cards. I already tried some things with style code but it doesn’t seem to do anything. Is it at all possible?
This is what it looks like now:
This is how I want it to look:
This is the code I use:
type: horizontal-stack
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-light-card
entity: light.woonkamer
show_brightness_control: true
tap_action:
action: toggle
fill_container: false
- type: custom:mushroom-light-card
entity: light.woonkamer_bloom
name: Sfeerlamp
show_brightness_control: true
show_color_control: true
show_color_temp_control: true
use_light_color: true
tap_action:
action: toggle
- type: custom:mushroom-light-card
entity: light.woonkamer_salontafel
show_brightness_control: true
name: Salontafel
tap_action:
action: toggle
- type: custom:mushroom-light-card
entity: light.woonkamer_pilaar_bank
name: Bank
show_brightness_control: true
tap_action:
action: toggle
- type: custom:mushroom-light-card
entity: light.woonkamer_pilaar_hoek
name: Hoek
use_light_color: false
show_brightness_control: true
tap_action:
action: toggle
- type: custom:mushroom-light-card
entity: light.dressoir
name: Dressoir
show_brightness_control: true
tap_action:
action: toggle
- type: custom:mini-graph-card
entities:
- sensor.kantoor_temp
show:
labels: true
color_thresholds:
- value: 18
color: '#3399ff'
- value: 20
color: '#ff8533'
- value: 21.5
color: '#c0392b'
styles:
card:
- height: 50px
- width: 20px
size: 100%
name: Verwarming
- type: custom:mushroom-cover-card
entity: cover.woonkamer_covers
name: Rolluiken
icon: mdi:window-shutter-open
show_buttons_control: false
show_position_control: true
fill_container: false
hide_state: false
tap_action:
action: toggle
Maybe someone can point me in the right direction here.
Thanks a lot!
Cheers,
Per