mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-04-07 08:03:40 +00:00
Add coverage for the state_class/statistics table optimization across both user and developer documentation. docs/user/docs/configuration.md: - Add 'Price Sensor Statistics' section explaining that only 3 sensors write to the HA statistics database (current_interval_price, current_interval_price_base, average_price_today) - Fix incorrect entity ID examples: remove non-existent _override suffix from recorder exclude globs, Developer Tools example, and seasonal automation example (actual IDs: number.*_best_price_flexibility etc.) docs/developer/docs/recorder-optimization.md: - Add 'Long-Term Statistics Optimization (state_class)' section covering the statistics/statistics_short_term table dimension, which is distinct from _unrecorded_attributes (state_attributes table) - Documents the MONETARY device_class constraint (MEASUREMENT blocked by hassfest, only TOTAL or None valid), the 3 sensors keeping TOTAL with rationale, the 23 sensors set to None, and ~88% write reduction - Includes comparison table: _unrecorded_attributes vs state_class Impact: Users now understand the built-in statistics optimization and have correct recorder exclude examples. Developers understand both optimization layers and their interaction. |
||
|---|---|---|
| .. | ||
| api-reference.md | ||
| architecture.md | ||
| caching-strategy.md | ||
| coding-guidelines.md | ||
| contributing.md | ||
| critical-patterns.md | ||
| debugging.md | ||
| intro.md | ||
| performance.md | ||
| period-calculation-theory.md | ||
| recorder-optimization.md | ||
| refactoring-guide.md | ||
| release-management.md | ||
| repairs-system.md | ||
| setup.md | ||
| testing.md | ||
| timer-architecture.md | ||