What am I doing wrong that the square incorrectly cuts off at the bottom?
My wrong code from ui-lovelace.yaml:
- type: grid
title: Bezpieczeństwo
view_layout:
grid-area: bezpieczeństwo
columns: 1
cards:
- type: custom:swipe-card
start_card: 4
parameters:
roundLengths: true
effect: coverflow
speed: 650
spaceBetween: 20
threshold: 7
coverflowEffect:
rotate: 80
depth: 300
cards:
- type: grid
columns: 2
cards:
- type: custom:button-card
entity: binary_sensor.ogrod_drzwi
name: Ogród drzwi
hold_action: !include popup/sensor_ogroddrzwi.yaml
template:
- base
- icon_closet
- type: custom:button-card
entity: binary_sensor.piwnica_drzwi
name: Piwnica drzwi
hold_action: !include popup/sensor_piwnicadrzwi.yaml
template:
- base
- icon_closet
- type: custom:button-card
entity: binary_sensor.salon_balkon
name: Salon balkon
hold_action: !include popup/sensor_salonbalkon.yaml
template:
- base
- icon_closet
- type: custom:button-card
entity: binary_sensor.brama_garazowa
name: Brama garażowa
hold_action: !include popup/sensor_bramagarazowa.yaml
template:
- base
- icon_garagedoor
- type: grid
columns: 2
cards:
- type: custom:button-card
entity: binary_sensor.piotr_balkon
name: Piotr balkon
hold_action: !include popup/sensor_piotrbalkon.yaml
template:
- base
- icon_closet
- type: custom:button-card
entity: binary_sensor.dziadek_pokoj_drzwi
name: Dziadek pokój
hold_action: !include popup/sensor_dziadekpokoj_drzwi.yaml
template:
- base
- icon_closet
- type: custom:button-card
entity: light.brama_parking
name: Brama parking
template:
- base
- icon_gate