Open RubenKelevra opened 2 weeks ago
Hey there @thomdietrich, mind taking a look at this issue as it has been labeled with an integration (statistics
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
statistics documentation statistics source (message by IssueLinks)
The problem
I'm experiencing an issue with the average_step statistics sensor in Home Assistant, which I'm using to monitor data from a brightness sensor. This brightness sensor only updates when there's a significant change in brightness.
Given that, if there's no change in brightness, the last value recorded by the brightness sensor might be older but still accurate.
According to my understanding, the "Keep last sample" option in the statistics sensor should retain and display this last sample value. However, this doesn't seem to be working as expected.
If the last recorded value from the brightness sensor is older than the configured "Max age" setting, the statistics sensor shows "Unknown" instead of retaining the last known value.
What version of Home Assistant Core has the issue?
2024.9.0b1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
statistics
Link to integration documentation on our website
https://rc.home-assistant.io/integrations/statistics
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response