Optimizer: make grid charging strategy configurable (#30782)

This commit is contained in:
andig 2026-06-16 12:27:30 +02:00 • committed by GitHub
parent ebe4a3d6a3
commit 494f6cf9bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 555 additions and 50 deletions

View file

@ -176,6 +176,7 @@ Deep documentation on specific subsystems is available in `docs/agents/`. Load w
### State Management
- Never access the store from sub-components; keep them stateless and pass the values they need as props (emit events back to the parent). Only top-level views read from the store. This keeps components reusable and testable (e.g. Storybook should never mock the store).
- Use `reactive()` from Vue for simple global state
- Implement property setters for nested object updates using helper functions
- Use localStorage with reactive wrappers for persistent settings