Skip to content

Template example for using reduced electrical fee in Denmark, using over 4000kWh pr. year

Malene Trab edited this page Sep 24, 2024 · 5 revisions

If you live in Denmark and have electrical heating registered in BBR, you get your electrical fee reduced if you are using over 4000kWh pr. year.
The 4000kWh is spread evenly over the year, giving a monthly "limit" of 334kWh before reduction.

To have this reflected in Home Assistant you can use this template, only requirement is that you have something reading your usage realtime.

Example:

{% if states("sensor.hovedforsyning_energy_total_current_month") | float(0) > 334 %}   
  {% set reduction = ( el_afgift - 0.008 ) | float(0) %}
{% endif %}

{{ 0.012 - reduction | default(0) | float(0) }}

You just need to replace sensor.hovedforsyning_energy_total_current_month with an entity containing your monthly usage and the 0.012 according to your subscription fees (see here for a list of known fees)