v0.2.0
What's new
Options flow
- Name and scan interval can now be changed after initial setup via Settings → Devices & Services → Easy Stock → Configure
- Default scan interval raised from 5 min to 15 min to reduce Yahoo Finance API load
Sensor history refactor
- Price history is no longer stored as a sensor attribute — eliminates excessive HA Recorder DB growth caused by the 252-entry array being re-written on every update
- History is now persisted via HA Store (
.storage/easy_stock.<symbol>.history) and served through a dedicated REST endpoint at/api/easy_stock/history?symbol=<SYMBOL> - Initial fetch loads a full year of daily closes; subsequent updates append only the latest trading day
- Long-term chart ranges (1M, YTD, 1Y) now fetch history directly from the REST endpoint with a 1-hour in-memory cache
Other
- README updated: early development notice, corrected default interval and sensor attribute docs
- GitHub issue templates added (bug report, feature request)
Upgrade notes
After updating, restart Home Assistant. On first run the integration will perform a full 1-year history backfill for each symbol and store it locally. No configuration changes are required.