Would like adjust the frame size of this card. I don’t want the white borders around the actual card, taking up unnecessary space. Any suggestions would be truly appreciated
type: custom:stack-in-card
square: false
columns: 1
cards:
- type: custom:layout-card
layout_type: custom:masonry-layout
layout:
width: 120
cards:
- type: grid
columns: 1
square: false
cards:
- type: custom:stack-in-card
cards:
- type: custom:mushroom-template-card
primary: Downlights
picture: /local/images/downlight_black.png
secondary: >
💡: {% set output = state_attr('light.downlights_stue',
'brightness') or 0 %} {% set output = output | int /255*100 %}
{%if output > 0 %} {{ output |int}}% {%endif%}
entity: light.downlights_stue
tap_action:
action: toggle
fill_container: false
layout: vertical
multiline_secondary: true
- type: conditional
conditions:
- entity: light.downlights_stue
state: 'on'
card:
type: custom:mushroom-light-card
entity: light.downlights_stue
use_light_color: true
show_brightness_control: true
icon_type: none
primary_info: none
secondary_info: none
layout: vertical
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
- type: custom:mushroom-chips-card
chips:
- type: template
entity: switch.adaptive_lighting_stue_downlights
tap_action:
action: toggle
icon_color: orange
icon: >
{% set manual =
states('binary_sensor.stue_manual_control') %} {% set auto
= states('switch.adaptive_lighting_stue_downlights') %} {%
if manual == 'on' %} mdi:hand-back-left-outline {% elif
auto == 'on' %} mdi:lightbulb-auto-outline {% else %}
mdi:lightbulb {% endif %}
alignment: end