Have a sensor that uses statistics platform to provide 30 day average from a daily sensor monitorring electricty savings (updated at 23:59 daily). Shows a nice smooth moving average curve until 2025.2 when it appears to mirror the sensor it’s meant to be averaging.
No recent changes to any sensor configs so is the statistics platform broken or am I missing something obvious?
This is the yaml for the average sensor (agile_savings_month):
- platform: statistics
name: "agile_savings_month"
entity_id: sensor.agile_today_actual_saving_from_mini
state_characteristic: mean
max_age:
days: 30