Skip to content

Commit

Permalink
Merge pull request #243 from krkeegan/insteon_voice_cmds
Browse files Browse the repository at this point in the history
Add On Off Command to PLM Scenes
  • Loading branch information
krkeegan committed Aug 6, 2013
2 parents 049fe85 + a8c060e commit 25b9d6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Insteon/BaseInsteon.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3060,6 +3060,8 @@ sub get_voice_cmds
my $group = $self->group;
my %voice_cmds = (
%{$self->SUPER::get_voice_cmds},
'on' => "$object_name->set(\"on\")",
'off' => "$object_name->set(\"off\")",
'initiate linking as controller' => "$object_name->initiate_linking_as_controller(\"$group\")",
'cancel linking' => "$object_name->interface()->cancel_linking"
);
Expand Down

0 comments on commit 25b9d6a

Please sign in to comment.