You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Sensor: AvailabilitySensor.extra_state_attributes['per_device'] values are now rounded to 1 decimal (matching native_value). Previously the per-device floats were unrounded — the rolling-window numerator grew by ~SCAN_INTERVAL seconds per coordinator tick, so the unrounded value drifted by tens of thousandths of a percent every tick — defeating WriteDedupMixin (the attribute dict comparison always saw a diff) and producing one recorder row per tick on every *_availability_today sensor (~2880/day each). The group-level native_value was already 1-decimal-rounded; this matches the attribute precision to it. Public API unchanged: state is still a 1-decimal float. Fixes v5.5 audit finding F-EA-1 (1.45M states rows over 50 days).