Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
305 changes: 305 additions & 0 deletions _sample.case.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,305 @@
## binary_sensor.stromligning_tomorrow_available_vat
available_at: 13:22:18
forecast_data: false
prices:
- end: '2026-03-15T00:00:00+01:00'

icon: mdi:calendar-end
friendly_name: Strømligning Prices for tomorrow incl. VAT

## sensor.stromligning_current_price_vat
state_class: total
prices:
- price: 1.659293
start: '2026-03-14T00:00:00+01:00'
end: '2026-03-14T00:15:00+01:00'
- price: 1.625574
start: '2026-03-14T00:15:00+01:00'
end: '2026-03-14T00:30:00+01:00'
- price: 1.487806
start: '2026-03-14T00:30:00+01:00'
end: '2026-03-14T00:45:00+01:00'
- price: 1.457824
start: '2026-03-14T00:45:00+01:00'
end: '2026-03-14T01:00:00+01:00'
- price: 1.552627
start: '2026-03-14T01:00:00+01:00'
end: '2026-03-14T01:15:00+01:00'
- price: 1.527222
start: '2026-03-14T01:15:00+01:00'
end: '2026-03-14T01:30:00+01:00'
- price: 1.514706
start: '2026-03-14T01:30:00+01:00'
end: '2026-03-14T01:45:00+01:00'
- price: 1.491262
start: '2026-03-14T01:45:00+01:00'
end: '2026-03-14T02:00:00+01:00'
- price: 1.495185
start: '2026-03-14T02:00:00+01:00'
end: '2026-03-14T02:15:00+01:00'
- price: 1.475757
start: '2026-03-14T02:15:00+01:00'
end: '2026-03-14T02:30:00+01:00'
- price: 1.468285
start: '2026-03-14T02:30:00+01:00'
end: '2026-03-14T02:45:00+01:00'
- price: 1.457076
start: '2026-03-14T02:45:00+01:00'
end: '2026-03-14T03:00:00+01:00'
- price: 1.430737
start: '2026-03-14T03:00:00+01:00'
end: '2026-03-14T03:15:00+01:00'
- price: 1.453714
start: '2026-03-14T03:15:00+01:00'
end: '2026-03-14T03:30:00+01:00'
- price: 1.463054
start: '2026-03-14T03:30:00+01:00'
end: '2026-03-14T03:45:00+01:00'
- price: 1.469405
start: '2026-03-14T03:45:00+01:00'
end: '2026-03-14T04:00:00+01:00'
- price: 1.46679
start: '2026-03-14T04:00:00+01:00'
end: '2026-03-14T04:15:00+01:00'
- price: 1.466697
start: '2026-03-14T04:15:00+01:00'
end: '2026-03-14T04:30:00+01:00'
- price: 1.495745
start: '2026-03-14T04:30:00+01:00'
end: '2026-03-14T04:45:00+01:00'
- price: 1.509008
start: '2026-03-14T04:45:00+01:00'
end: '2026-03-14T05:00:00+01:00'
- price: 1.478839
start: '2026-03-14T05:00:00+01:00'
end: '2026-03-14T05:15:00+01:00'
- price: 1.505646
start: '2026-03-14T05:15:00+01:00'
end: '2026-03-14T05:30:00+01:00'
- price: 1.53376
start: '2026-03-14T05:30:00+01:00'
end: '2026-03-14T05:45:00+01:00'
- price: 1.567478
start: '2026-03-14T05:45:00+01:00'
end: '2026-03-14T06:00:00+01:00'
- price: 1.739403
start: '2026-03-14T06:00:00+01:00'
end: '2026-03-14T06:15:00+01:00'
- price: 1.787132
start: '2026-03-14T06:15:00+01:00'
end: '2026-03-14T06:30:00+01:00'
- price: 1.807026
start: '2026-03-14T06:30:00+01:00'
end: '2026-03-14T06:45:00+01:00'
- price: 1.820103
start: '2026-03-14T06:45:00+01:00'
end: '2026-03-14T07:00:00+01:00'
- price: 1.864749
start: '2026-03-14T07:00:00+01:00'
end: '2026-03-14T07:15:00+01:00'
- price: 1.82935
start: '2026-03-14T07:15:00+01:00'
end: '2026-03-14T07:30:00+01:00'
- price: 1.827855
start: '2026-03-14T07:30:00+01:00'
end: '2026-03-14T07:45:00+01:00'
- price: 1.825613
start: '2026-03-14T07:45:00+01:00'
end: '2026-03-14T08:00:00+01:00'
- price: 1.886232
start: '2026-03-14T08:00:00+01:00'
end: '2026-03-14T08:15:00+01:00'
- price: 1.885765
start: '2026-03-14T08:15:00+01:00'
end: '2026-03-14T08:30:00+01:00'
- price: 1.886138
start: '2026-03-14T08:30:00+01:00'
end: '2026-03-14T08:45:00+01:00'
- price: 1.882496
start: '2026-03-14T08:45:00+01:00'
end: '2026-03-14T09:00:00+01:00'
- price: 1.868018
start: '2026-03-14T09:00:00+01:00'
end: '2026-03-14T09:15:00+01:00'
- price: 1.867831
start: '2026-03-14T09:15:00+01:00'
end: '2026-03-14T09:30:00+01:00'
- price: 1.834954
start: '2026-03-14T09:30:00+01:00'
end: '2026-03-14T09:45:00+01:00'
- price: 1.755655
start: '2026-03-14T09:45:00+01:00'
end: '2026-03-14T10:00:00+01:00'
- price: 1.795351
start: '2026-03-14T10:00:00+01:00'
end: '2026-03-14T10:15:00+01:00'
- price: 1.7621
start: '2026-03-14T10:15:00+01:00'
end: '2026-03-14T10:30:00+01:00'
- price: 1.735667
start: '2026-03-14T10:30:00+01:00'
end: '2026-03-14T10:45:00+01:00'
- price: 1.711476
start: '2026-03-14T10:45:00+01:00'
end: '2026-03-14T11:00:00+01:00'
- price: 1.715959
start: '2026-03-14T11:00:00+01:00'
end: '2026-03-14T11:15:00+01:00'
- price: 1.696158
start: '2026-03-14T11:15:00+01:00'
end: '2026-03-14T11:30:00+01:00'
- price: 1.715492
start: '2026-03-14T11:30:00+01:00'
end: '2026-03-14T11:45:00+01:00'
- price: 1.727914
start: '2026-03-14T11:45:00+01:00'
end: '2026-03-14T12:00:00+01:00'
- price: 1.723525
start: '2026-03-14T12:00:00+01:00'
end: '2026-03-14T12:15:00+01:00'
- price: 1.718948
start: '2026-03-14T12:15:00+01:00'
end: '2026-03-14T12:30:00+01:00'
- price: 1.723338
start: '2026-03-14T12:30:00+01:00'
end: '2026-03-14T12:45:00+01:00'
- price: 1.714651
start: '2026-03-14T12:45:00+01:00'
end: '2026-03-14T13:00:00+01:00'
- price: 1.728848
start: '2026-03-14T13:00:00+01:00'
end: '2026-03-14T13:15:00+01:00'
- price: 1.728288
start: '2026-03-14T13:15:00+01:00'
end: '2026-03-14T13:30:00+01:00'
- price: 1.696438
start: '2026-03-14T13:30:00+01:00'
end: '2026-03-14T13:45:00+01:00'
- price: 1.698306
start: '2026-03-14T13:45:00+01:00'
end: '2026-03-14T14:00:00+01:00'
- price: 1.716239
start: '2026-03-14T14:00:00+01:00'
end: '2026-03-14T14:15:00+01:00'
- price: 1.72642
start: '2026-03-14T14:15:00+01:00'
end: '2026-03-14T14:30:00+01:00'
- price: 1.731277
start: '2026-03-14T14:30:00+01:00'
end: '2026-03-14T14:45:00+01:00'
- price: 1.761913
start: '2026-03-14T14:45:00+01:00'
end: '2026-03-14T15:00:00+01:00'
- price: 1.690927
start: '2026-03-14T15:00:00+01:00'
end: '2026-03-14T15:15:00+01:00'
- price: 1.811603
start: '2026-03-14T15:15:00+01:00'
end: '2026-03-14T15:30:00+01:00'
- price: 1.870353
start: '2026-03-14T15:30:00+01:00'
end: '2026-03-14T15:45:00+01:00'
- price: 1.882122
start: '2026-03-14T15:45:00+01:00'
end: '2026-03-14T16:00:00+01:00'
- price: 1.868392
start: '2026-03-14T16:00:00+01:00'
end: '2026-03-14T16:15:00+01:00'
- price: 1.879974
start: '2026-03-14T16:15:00+01:00'
end: '2026-03-14T16:30:00+01:00'
- price: 1.979447
start: '2026-03-14T16:30:00+01:00'
end: '2026-03-14T16:45:00+01:00'
- price: 2.116842
start: '2026-03-14T16:45:00+01:00'
end: '2026-03-14T17:00:00+01:00'
- price: 2.56434
start: '2026-03-14T17:00:00+01:00'
end: '2026-03-14T17:15:00+01:00'
- price: 2.711075
start: '2026-03-14T17:15:00+01:00'
end: '2026-03-14T17:30:00+01:00'
- price: 2.809802
start: '2026-03-14T17:30:00+01:00'
end: '2026-03-14T17:45:00+01:00'
- price: 3.011925
start: '2026-03-14T17:45:00+01:00'
end: '2026-03-14T18:00:00+01:00'
- price: 2.786825
start: '2026-03-14T18:00:00+01:00'
end: '2026-03-14T18:15:00+01:00'
- price: 2.865376
start: '2026-03-14T18:15:00+01:00'
end: '2026-03-14T18:30:00+01:00'
- price: 3.090943
start: '2026-03-14T18:30:00+01:00'
end: '2026-03-14T18:45:00+01:00'
- price: 3.192378
start: '2026-03-14T18:45:00+01:00'
end: '2026-03-14T19:00:00+01:00'
- price: 3.192939
start: '2026-03-14T19:00:00+01:00'
end: '2026-03-14T19:15:00+01:00'
- price: 3.144836
start: '2026-03-14T19:15:00+01:00'
end: '2026-03-14T19:30:00+01:00'
- price: 3.025001
start: '2026-03-14T19:30:00+01:00'
end: '2026-03-14T19:45:00+01:00'
- price: 2.898908
start: '2026-03-14T19:45:00+01:00'
end: '2026-03-14T20:00:00+01:00'
- price: 3.126436
start: '2026-03-14T20:00:00+01:00'
end: '2026-03-14T20:15:00+01:00'
- price: 2.938043
start: '2026-03-14T20:15:00+01:00'
end: '2026-03-14T20:30:00+01:00'
- price: 2.786544
start: '2026-03-14T20:30:00+01:00'
end: '2026-03-14T20:45:00+01:00'
- price: 2.679785
start: '2026-03-14T20:45:00+01:00'
end: '2026-03-14T21:00:00+01:00'
- price: 2.05445
start: '2026-03-14T21:00:00+01:00'
end: '2026-03-14T21:15:00+01:00'
- price: 1.994112
start: '2026-03-14T21:15:00+01:00'
end: '2026-03-14T21:30:00+01:00'
- price: 2.058186
start: '2026-03-14T21:30:00+01:00'
end: '2026-03-14T21:45:00+01:00'
- price: 2.015874
start: '2026-03-14T21:45:00+01:00'
end: '2026-03-14T22:00:00+01:00'
- price: 2.05006
start: '2026-03-14T22:00:00+01:00'
end: '2026-03-14T22:15:00+01:00'
- price: 1.989068
start: '2026-03-14T22:15:00+01:00'
end: '2026-03-14T22:30:00+01:00'
- price: 2.052675
start: '2026-03-14T22:30:00+01:00'
end: '2026-03-14T22:45:00+01:00'
- price: 1.948158
start: '2026-03-14T22:45:00+01:00'
end: '2026-03-14T23:00:00+01:00'
- price: 2.050807
start: '2026-03-14T23:00:00+01:00'
end: '2026-03-14T23:15:00+01:00'
- price: 1.950119
start: '2026-03-14T23:15:00+01:00'
end: '2026-03-14T23:30:00+01:00'
- price: 1.936295
start: '2026-03-14T23:30:00+01:00'
end: '2026-03-14T23:45:00+01:00'
- price: 1.834113
start: '2026-03-14T23:45:00+01:00'
end: '2026-03-15T00:00:00+01:00'

unit_of_measurement: kr/kWh
device_class: monetary
icon: mdi:flash
friendly_name: Strømligning Current incl. VAT
4 changes: 2 additions & 2 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ WattPlan acquires four planner input series:
- **Usage**
- **PV**

Each source group is configured with one provider mode at a time. Supported modes depend on the source:
Each source group stores one or more provider definitions. Supported provider modes depend on the source:
- Price and export price: entity adapter, service adapter, or template
- Usage: built-in history-based forecast, entity adapter, service adapter, or template
- PV: Home Assistant Energy solar provider, entity adapter, service adapter, or template

Entity-adapter mode can optionally merge multiple same-shaped entities into one combined payload before normalization. Aside from that case, each source resolves through one configured provider path.
Every provider first resolves into timestamp/value points. The source pipeline then concatenates all provider output for that source before normalization, slot aggregation, repair, and fixup run once on the merged stream. Runtime planning can tolerate one provider failing or producing no usable points when another provider still covers the source.

The acquisition pipeline for each source is:
1. Select the configured provider mode and fetch raw payload or direct slot values.
Expand Down
Loading
Loading