From a58f5ae0683f2c4bac0ca214a47ae7a09066ab12 Mon Sep 17 00:00:00 2001 From: KRKeegan Date: Sat, 19 Oct 2013 17:44:09 -0700 Subject: [PATCH] Insteon: Fix Return from i2CS to Link to Interface Was in the wrong location, which skipped adding the controller record on the device for device->PLM --- lib/Insteon/BaseInsteon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Insteon/BaseInsteon.pm b/lib/Insteon/BaseInsteon.pm index 7a575d43d..edf517301 100644 --- a/lib/Insteon/BaseInsteon.pm +++ b/lib/Insteon/BaseInsteon.pm @@ -1482,7 +1482,7 @@ sub link_to_interface_i2cs case (2) { #Scan device to get an accurate link table #return to normal link_to_interface routine if successful $success_callback_prefix = $self->get_object_name."->link_to_interface('$p_group','$p_data3',"; - $success_callback = $success_callback_prefix . "'2')"; + $success_callback = $success_callback_prefix . "'1')"; $self->scan_link_table($success_callback, $failure_callback); } }