If you’re in Norway and use the Energy Dashboard, you’ve probably noticed that the cost shown is just the spot price. That’s only part of what you actually pay — grid tariffs (nettleie), government fees, power support (strømstøtte), and VAT are all missing.
Setting this up manually with template sensors is painful: day/night rates, public holidays, capacity tiers based on your top-3 peak hours, regional VAT rules, and the power support formula that kicks in above 96.25 øre/kWh.
What Strømkalkulator does
It calculates your actual electricity cost per kWh, ready to drop into the Energy Dashboard:
Grid tariff (nettleie) — energy rate (day/night) + capacity tier, from your specific grid company
Power support (strømstøtte) — automatic calculation (90% above 96.25 øre/kWh)
Government fees — consumption tax + Enova fee, with correct VAT per region
Total price — one sensor with everything included
Monthly tracking — consumption split by day/night tariff, with last month stored for invoice verification
Norgespris comparison — see if the government’s fixed-price deal would save you money
All Norwegian grid companies are supported with 2026 rates. The integration detects your VAT zone automatically and handles grid company mergers.
a power sensor (W) from your HAN port / Tibber Pulse / P1 reader
a spot price sensor from the Nord Pool integration.
Setup: Settings → Devices & Services → Add Integration → Strømkalkulator → pick your grid company → pick your sensors → done.
Use with Energy Dashboard
Add your kWh consumption sensor to the Energy Dashboard and select “Totalpris inkl. avgifter” as the price entity. Now your dashboard shows what you actually pay.
This looks amazing, but i’m having some problems.
I cant find “Norgesnett” or “Glitre”.
And when I tried “Egendefinert” it would not let me press “send inn”.
I recently merged Norgesnett into Glitre and Glitre was in the list, but the list was not in alphabetical order. Not it is. Great feedback.
Not sure why “egendefinert” failed, if you have access to the logs in your HA you can grep -i stromkalkulator /config/home-assistant.log and Github - New Issue and ill fix it
I have a request. I notice that the total price/kwh is calculated so that the capasity-price is estimated into it. In my opinion this is not accurate enough, so I was wondering if you could add a calculation for a total price/kwh where you only include the power price + grid price?
Thanks. There are a few more quirks. When selecting norgespris, your inegration stops calculating strømstøtte, and therefor the possibility to compare the two goes away
As you can see in my screenshot “strømstøtte” shows 0, “spotpris etter støtte” just shows the spotprice, “total strømpris etter støtte” shows, as far as i can tell norgespris+gridTariff+estimated capacity cost.
Well, you can see the rest.
Edit: all in all I find the names/numbers a bit confusing. It’s hard to get a grasp of what they actually represent.
It would be nice if there were calculations based on power sold as well. Many of us have dropped “norgespris” to be able to sell at a possible higher price in the summer
Would be nice to see the difference in power sold, norgespris/strømstøtte.
What specific stuff are you missing? I can add some disabled sensors that you can enable. I already have too many so a few more wont hurt (30 enabled + 12 disabled by default)
Maybe I’m misunderstanding your question, but the 1.18 NOK/kWh is correct. “Total strømpris (Norgespris)” includes three components:
Norgespris: 50 øre/kWh
Energiledd (grid tariff): 46.13 øre/kWh (day rate for BKK)
Kapasitetsledd (capacity charge): spread per kWh
BKK charges a monthly capacity fee based on your peak power usage (e.g. 155 kr/mnd for 0-2 kW, 250 kr/mnd for 2-5 kW). The sensor divides this across all hours in the month. With the 0-2 kW tier: 0.50 + 0.4613 + (155 / 30 / 24) = 1.18 NOK/kWh.
The attributes on the sensor show the breakdown (norgespris, energiledd, kapasitetsledd_per_kwh) so you can verify each part.
One caveat: this sensor shows the right marginal cost at any point in time, but the Energy Dashboard monthly sum won’t match your invoice exactly. Kapasitetsledd is a fixed monthly fee, and spreading it per kWh only sums back correctly if your consumption happens to be exactly days × 24 kWh. For invoice comparison, use the “Månedlig total” sensor instead, which adds kapasitetsledd as a flat amount. I’ve verified that one against real BKK invoices for February and March 2026, all line items match within 0.01 kr.
It would be great to have a sensor that shows how much money you have earned from selling electricity (for example, from solar power).
And another sensor that shows the difference in this amount compared to if you had chosen “Norgespris”.
This is because I hope — and believe — that I can earn/save more by selling electricity without selecting “Norgespris”.
With these sensors, it would also be possible to add an extra sensor for the total cost by subtracting the new sensor from the existing one (purchases minus sales).
Ahh that’s the reason then, I always add the Kapasitetsledd as a lump-sum instead of thinking of it as an extra ‘fee’ on the kwh price, but then I know the reasoning for that thanks!
Quite a few of the sensors in this integration is going to replace a few of the one I already have, but i think I prefer a ‘clean’ ‘raw’ price
Nice setup. You’re already doing what my “Månedlig total” sensor does: kapasitetsledd as a lump sum, not spread per kWh.
Here’s what maps to your current sensors:
Your sensor
Strømkalkulator equivalent
Strøm
Strømpris per kWh (spot + energiledd, no kapasitetsledd)
Strøm + avgifter
Månedlig nettleie total (energiledd + kapasitetsledd + avgifter)
Kapasitetsledd
Kapasitetstrinn (shows kr/mnd directly)
Totalt
Månedlig total (nettleie complete)
Forventet regning
Estimert månedskostnad (linear projection)
Coming soon: an accumulated cost sensor (stat_cost mode) that tracks total cost including kapasitetsledd as a time-based increment instead of per-kWh. That one gives the Energy Dashboard a correct monthly total without the kapasitetsledd spreading issue.
Hei, jeg får ikke til dette. Jeg får ikke opp noe på “Spotpris-sensor (NOK/kWh)”. Så det stopper der hos meg. Jeg har nordpool installert. Hva gjør jeg feil?
Det var jeg som la på filter device_class: monetary, men Nordpool-integrasjonen setter ikke denne device-klassen på sine sensorer. Resultatet var “No items available” i dropdown-en, selv om Nordpool var installert og fungerte. Fikset det nå