Skip to content

Commit

Permalink
Adjust charging requirement to the nearest 30 minute (0.5) hour.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannytsang committed Nov 12, 2023
1 parent d7c2de5 commit 0ac113e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/energy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ script:
Charge :house_with_garden::battery: battery to {{ estimate_charge_percentage }}% to {{ estimate_charge_kw }}kWh.
Charge time required: {{ estimate_charge_hours|round(2, 'ceil') }}kWh. {{ estimate_charge_hours|round(0, 'ceil') }} hours ({{ estimate_charge_hours|round(0, 'ceil')|int * 2 }} slots).
Charge time required: {{ estimate_charge_hours|round(2, 'ceil') }}kWh. {{ (estimate_charge_hours * 2)|round(0)/2 }} hours ({{ (((estimate_charge_hours * 2)|round(0)/2)*2)|round(0) }} slots).
{%- endif -%}
title: ":sunny: :zap: Solar"
people:
Expand Down

0 comments on commit 0ac113e

Please sign in to comment.