Skip to content

Commit

Permalink
Merge pull request #68 from mstovenour/fix_plm_aldb_health
Browse files Browse the repository at this point in the history
PLM aldb not marked healthy
  • Loading branch information
krkeegan committed Feb 12, 2013
2 parents a8216e5 + 32af7ea commit 22dd0f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Insteon/AllLinkDatabase.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2161,6 +2161,8 @@ sub add_link
$$self{aldb}{$linkkey}{data1} = lc $data1;
$$self{aldb}{$linkkey}{data2} = lc $data2;
$$self{aldb}{$linkkey}{data3} = lc $data3;
$$self{aldb}{$linkkey}{inuse} = 1;
$self->health('good') if($self->health() eq 'empty');
my $message = new Insteon::InsteonMessage('all_link_manage_rec', $$self{device});
$message->interface_data($cmd);
if ($link_parms{callback})
Expand Down

0 comments on commit 22dd0f4

Please sign in to comment.