Salut,
c’est normal de 7 jours de retention tu passe a 3 jours. Tu n’aura que 3 jours d’historique, apres c’est des statistiques a long terme a partir du 3eme jours.
Faut configurer l’entité dans apex-chart pour utiliser les statistique long terme.
statistics
options
Name | Type | Default | Since | Description |
---|---|---|---|---|
type |
string | mean |
v2.0.0 | Type of long term statistic to pull. Can be one of min , max , mean , sum or state |
period |
string | hour |
v2.0.0 | Period of statistics to pull. Can be one of 5minute , hour , day or month |
align |
string | middle |
v2.0.0 | Align the data points to the start , end or middle of the period of the statistics |
exemple:
type: custom:apexcharts-card
series:
- entity: sensor.temperature_salon
type: column
statistics:
type: mean
period: month
align: end
graph_span: 30d
span:
end: week