Skip to content

Commit

Permalink
EC-247 rename binding in appliance control logic
Browse files Browse the repository at this point in the history
Co-Authored-By: Korinna Pinakoulakis <7438240+kpinakula@users.noreply.github.com>
  • Loading branch information
rachowell and kpinakula committed Feb 13, 2025
1 parent 3741b07 commit 6f90ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/corpus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,8 @@ impl Corpus {
internal_gains_from_input(&input.internal_gains, total_floor_area)?;

// setup smart control for loadshifting
let smart_control = if let Some(smart_control) = input.control.extra.get("loadshifting") {
match smart_control {
let smart_control = if let Some(control) = input.control.extra.get("loadshifting") {
match control {
ControlDetails::SmartAppliance {
battery_24hr,
non_appliance_demand_24hr,
Expand Down

0 comments on commit 6f90ebb

Please sign in to comment.