Hier mal ein Bsp. mit history-graph.
Die Mini Graph Karte Verwende ich nicht
type: custom:config-template-card
variables:
intervall: states['input_number.intervall'].state
entities:
- input_number.intervall
card:
type: history-graph
entities:
- entity: sensor.ws_outdoor_temperature
title: Temperatur Garten
hours_to_show: ${intervall}
Gruß
Osorkon