Skip to content

Commit

Permalink
Merge pull request #289 from krkeegan/insteon_is_deaf
Browse files Browse the repository at this point in the history
Insteon: Fix Bug in Call to Is_Deaf in Sync_Links
  • Loading branch information
krkeegan committed Oct 18, 2013
2 parents ff49ef3 + 7b7becd commit c96fe10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Insteon.pm
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ sub sync_all_links
# iterate over all registered objects and compare whether the link tables match defined scene linkages in known Insteon_Links
for my $obj (&Insteon::find_members('Insteon::BaseController'))
{
if ($obj->is_deaf)
if (!$obj->isa('Insteon::InterfaceController') && $obj->is_deaf)
{
&main::print_log("[Sync all links] Ignoring links from 'deaf' device: " . $obj->get_object_name);
}
Expand Down

0 comments on commit c96fe10

Please sign in to comment.