Skip to content

Commit

Permalink
Insteon: Fix bug in Sync Links Which Prevented On Level Changes From …
Browse files Browse the repository at this point in the history
…Being Updated

Fixes hollie#441
  • Loading branch information
krkeegan committed Jul 22, 2014
1 parent f48297e commit 1a4b31b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Insteon/BaseInsteon.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3278,7 +3278,7 @@ sub sync_links
$requires_update = 1;
$cause .= "Ramp rate ";
}
elsif ($cur_on_level-1 > $tgt_on_level && $cur_on_level+1 < $tgt_on_level){
elsif ($cur_on_level-1 > $tgt_on_level || $cur_on_level+1 < $tgt_on_level){
$requires_update = 1;
$cause .= "On level ";
}
Expand Down

0 comments on commit 1a4b31b

Please sign in to comment.