Julian Pawlowski
|
d52eb6b788
|
refactor(utils): create utils package and consolidate constants
Reorganized utility modules into structured package:
- average_utils.py → utils/average.py
- price_utils.py → utils/price.py
- Created utils/__init__.py with clean exports
Moved MINUTES_PER_INTERVAL to const.py (centralized constant
management), with re-exports in utils modules for backward
compatibility during migration.
Added comprehensive package docstring explaining scope:
- Pure data transformation functions (stateless)
- No HA entity/coordinator dependencies
- Clear separation from entity_utils/ (entity-specific logic)
Impact: Cleaner module structure, easier navigation. Follows
file organization policy from AGENTS.md (keep root clean).
|
2025-11-18 20:06:46 +00:00 |
|