Skip to content

Commit

Permalink
Merge pull request #5 from treynaer/master
Browse files Browse the repository at this point in the history
Temp Fix Solar Battery Effectiveness
  • Loading branch information
ryanm101 authored Mar 27, 2023
2 parents d350c3e + 9d2b52f commit c4e7068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/energy_stats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit c4e7068

Please sign in to comment.