Is there a way to make the days_to_show dynamic on a statistics-graph?
I’ve tried this:
- type: statistics-graph
title: 'Lolo Weight'
days_to_show: '{{states("input_number.lolo_weight_chart_days_to_show") | int}}'
stat_types: mean
entities:
- entity: sensor.lolo_weight
name: Weight
But all I get is loading statistics
Am I missing something?
It would be nice to be able to change the time scale with an input_number or input_text
2 posts - 2 participants