Hello hello,
Je suis en train de me créer des cartes pour les statistiques de T°, je suis parti sur du swipe card pour un gain de place. Mais j’arrive pas à avoir la même hauteur de carte et je trouve ça pas terrible (voir captures). J’ai tenté avec card-mod en jouant sur avec height mais rien de probant. Je pense qu’il y a moyen de faire ça propre non ?
type: 'custom:swipe-card'
parameters:
spaceBetween: 1
scrollbar:
hide: false
draggable: true
snapOnRelease: true
cards:
- type: 'custom:mini-graph-card'
name: Extérieur test
entities:
- entity: sensor.temperature_exterieur_temperature
name: Température
color: '#A62F03'
- entity: sensor.temperature_exterieur_humidity
name: Humidité
y_axis: secondary
show_state: true
color: '#44B0E7'
hours_to_show: 72
line_width: 4
- type: entities
title: Statistiques
entities:
- entity: sensor.statistiques_temperature_exterieure_jour
type: 'custom:multiple-entity-row'
name: 1 jour
show_state: false
entities:
- attribute: min_value
name: min
- attribute: max_value
name: max
- attribute: mean
name: moyenne
- entity: sensor.statistiques_temperature_exterieure_semaine
type: 'custom:multiple-entity-row'
name: 7 jours
show_state: false
entities:
- attribute: min_value
name: min
- attribute: max_value
name: max
- attribute: mean
name: moyenne
- entity: sensor.statistiques_temperature_exterieure_mois
type: 'custom:multiple-entity-row'
name: 30 jours
show_state: false
entities:
- attribute: min_value
name: min
- attribute: max_value
name: max
- attribute: mean
name: moyenne