elprisetjustnu always decodes SEK_per_kWh. Sourceful and ENTSO-E convert via FX. FromConfig still stamps Service.Currency from zone/config, so a non-SEK currency stores SEK numbers labeled as NOK/EUR.
Found on master 6eadec3f in go/internal/prices/prices.go.
What a fix needs
- Convert elprisetjustnu the same way as Sourceful/ENTSO-E, or refuse the provider when currency is not SEK.
- Test:
Currency=EUR must not persist SEK magnitudes as EUR.
Open PR overlap: #1044 is stale harvest / Nord Pool fallback; #1051 is static tariff. Recheck those before editing prices.go.
elprisetjustnualways decodesSEK_per_kWh. Sourceful and ENTSO-E convert via FX.FromConfigstill stampsService.Currencyfrom zone/config, so a non-SEK currency stores SEK numbers labeled as NOK/EUR.Found on master
6eadec3fingo/internal/prices/prices.go.What a fix needs
Currency=EURmust not persist SEK magnitudes as EUR.Open PR overlap: #1044 is stale harvest / Nord Pool fallback; #1051 is static tariff. Recheck those before editing
prices.go.