From 0ac30a51902d034ebac88b225f4e7d432f7b755b Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Mon, 28 Apr 2025 10:40:44 +0200 Subject: [PATCH] fix: electricity pricing --- hosts/fw/modules/home-assistant/electricity.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/fw/modules/home-assistant/electricity.nix b/hosts/fw/modules/home-assistant/electricity.nix index 482de06..bf92b52 100644 --- a/hosts/fw/modules/home-assistant/electricity.nix +++ b/hosts/fw/modules/home-assistant/electricity.nix @@ -18,7 +18,7 @@ in { friendly_name = "Current Price of electricity"; unit_of_measurement = "EUR/kWh"; value_template = '' - {{ (((states('sensor.epex_spot_data_price') | int ) / 1000) + (0.0149 + 0.053 + 0.00866)) | float }} + {{ ((states('sensor.epex_spot_data_price') | int ) + (0.0149 + 0.074 + 0.007 + 0.0074 + 0.0006)) | float }} ''; }; };