Skip to content

Add an optional external electricity price forecast sensor - #74

Draft
InventoCasa wants to merge 1 commit into
mainfrom
feat/price-forecast-sensor
Draft

InventoCasa wants to merge 1 commit into
mainfrom
feat/price-forecast-sensor

Conversation

@InventoCasa

Copy link
Copy Markdown
Owner

External forecasting services currently have no dedicated input, so their estimates cannot be inspected separately from confirmed tariffs. Add an optional electricity price forecast sensor to initial setup and options, with a diagnostic entity for accepted intervals, source and expiry information.

The versioned contract validates units, price basis, timestamps, continuity and empirical bounds, while preserving zero and negative prices. Missing, malformed or expired input clears the accepted snapshot. Forecasts remain outside tariff windows, planning and device-control authorization; version 1 accepts experimental observation data only. Large interval arrays are excluded from the diagnostic entity's Recorder history. English and German documentation and configuration labels are synchronized.

Validation: 1,334 tests passed on each pinned Home Assistant/Python stack, including 45 new parser, configuration, coordinator and sensor checks. Tracked-tree and commit-range checks reported no findings; the component package built successfully. Independent review and a producer/consumer compatibility check passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant