Skip to content

Commit

Permalink
Insteon: Update PLM Scene State on Change
Browse files Browse the repository at this point in the history
When a PLM Scene is successfully sent, MH will now update the state of the scene.

Fixes issue hollie#177
  • Loading branch information
krkeegan committed May 8, 2013
1 parent a9e3707 commit 419ce45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Insteon_PLM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,11 @@ sub _parse_data {
my $message_to_string = ($self->active_message) ? $self->active_message->to_string() : "";
&::print_log("[Insteon_PLM] Received all-link cleanup success: $message_to_string")
if $main::Debug{insteon};
if (ref $self->active_message->setby){
my $object = $self->active_message->setby;
$object->is_acknowledged(1);
$object->_process_command_stack();
}
$self->clear_active_message();
}
}
Expand Down

0 comments on commit 419ce45

Please sign in to comment.