From 9d2b52fb5a1d04463ad6d51b746fd7f7cd216ac1 Mon Sep 17 00:00:00 2001 From: treynaer <4507858+treynaer@users.noreply.github.com> Date: Sun, 26 Mar 2023 15:08:00 +0200 Subject: [PATCH] Temp Fix Solar Battery Effectiveness This is a temporary fix to get a meaningful result when solar and battery are producing energy. --- packages/energy_stats.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/energy_stats.yaml b/packages/energy_stats.yaml index 5832d5f..fe0d011 100644 --- a/packages/energy_stats.yaml +++ b/packages/energy_stats.yaml @@ -64,7 +64,7 @@ template: {{ (1 - ((b1_dc_power * -1 - (i1_dc_power)) / b1_dc_power * -1)) }} {% endif %} {% else %} - {{ battery_effectiveness }} + 1 {% endif %} availability: > {{ states('sensor.solaredge_i1_dc_power') | is_number and states('sensor.solaredge_i1_ac_power') | is_number and states('sensor.solaredge_b1_dc_power') | is_number }}