From a8c060e4e7b9ddd4d0e0f824f47ef4c6eb540ccb Mon Sep 17 00:00:00 2001 From: KRKeegan Date: Mon, 5 Aug 2013 18:45:40 -0700 Subject: [PATCH] Insteon_Voice_Cmds: Add On/Off Command to PLM Scene Controller Fix Bug found by Bill Dripps --- lib/Insteon/BaseInsteon.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Insteon/BaseInsteon.pm b/lib/Insteon/BaseInsteon.pm index 4b0b7918a..c0e5d0ef9 100644 --- a/lib/Insteon/BaseInsteon.pm +++ b/lib/Insteon/BaseInsteon.pm @@ -3005,6 +3005,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" );