Skip to content

Commit

Permalink
hotfix: set a sane default on dyness net metering
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaDodds committed Jan 9, 2025
1 parent c2326c3 commit 91e6c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/energy_broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def manage_sale_of_stored_energy_to_the_grid() -> None:
batt_soc = STATE.get('batt_soc')
tibber_price_now = STATE.get('tibber_price_now') or 0
ac_setpoint = STATE.get('ac_power_setpoint')
ess_net_metering = STATE.get('ess_net_metering_enabled')
ess_net_metering = STATE.get('ess_net_metering_enabled') or False
ess_net_metering_overridden = STATE.get('ess_net_metering_overridden') or False
ess_net_metering_batt_min_soc = STATE.get('ess_net_metering_batt_min_soc')

Expand Down

0 comments on commit 91e6c6b

Please sign in to comment.