Skip to content

Commit

Permalink
Merge pull request #216 from krkeegan/insteon_plm_scene
Browse files Browse the repository at this point in the history
Insteon: Set Cmd2 to 00 in All Link Send Commands
  • Loading branch information
krkeegan committed Jun 8, 2013
2 parents a70cfc9 + e2f20e4 commit 8c23b0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Insteon/BaseInsteon.pm
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,10 @@ sub derive_message
return undef;
}

if ($p_extra)
if ($self->isa("Insteon::InterfaceController"))
{
$message->extra('00') #All PLM Scenes are Cmd2=00;
} elsif ($p_extra)
{ $message->extra($p_extra);

} elsif ($subcommand) {
Expand Down

0 comments on commit 8c23b0c

Please sign in to comment.