Le problème semble résolu. Pour cela j’ai débuté le script en y déclarant d’abord une carte vertical-stack (avec une seule ligne) puis seulement après j’ai incorporé ma carte swipe-card
type: vertical-stack
cards:
- type: custom:swipe-card
start_card: 1
parameters:
init: true
pagination:
type: bullets
clickable: true
effect: cube
grabCursor: true
cubeEffect:
shadow: false
loop: false
roundLengths: true
speed: 650
spaceBetween: 20
threshold: 7
coverflowEffect:
rotate: 80
depth: 300
scrollbar:
hide: false
draggable: true
snapOnRelease: true
autoheight: true
cards:
- type: vertical-stack
cards:
- type: entity-filter
entities:
- entity: binary_sensor.0x00124b0028941c57_contact
name: Capteur Porte Terrasse