Bonjour,
Avec mini graph, j’ai ceci pour jour et nuit
type: custom:mini-graph-card
icon: mdi:sprout
entities:
- entity: sensor.capteur_plante_moisture
color: rgba(255,150,50,1)
name: Humidité du sol
- entity: binary_sensor.night
color: blue
y_axis: secondary
name: Nuit
- entity: switch.potager_relais
color: green
y_axis: secondary
name: Vanne
state_map:
- value: 'off'
label: Day
- value: 'on'
label: Night