Skip to content

Commit

Permalink
use new divert_type in divert_sim
Browse files Browse the repository at this point in the history
  • Loading branch information
KipK committed May 2, 2023
1 parent 04a7561 commit c3c68b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions divert_sim/divert_sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ int main(int argc, char** argv)

kw = result.count("kw") > 0;

mqtt_solar = grid_ie_col >= 0 ? "" : "yes";
mqtt_grid_ie = grid_ie_col >= 0 ? "yes" : "";

divert_type = grid_ie_col >= 0 ? 1 : 0;

if(voltage_arg >= 0) {
if(voltage_arg < 50) {
voltage_col = voltage_arg;
Expand Down

0 comments on commit c3c68b7

Please sign in to comment.