Skip to content

Commit

Permalink
Revise Read_Table_A to Point to Thermostat.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
krkeegan committed Mar 3, 2013
1 parent ac0e056 commit 96baeab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/read_table_A.pl
Expand Up @@ -150,10 +150,10 @@ sub read_table_A {
}
}
elsif($type eq 'IPLT' or $type eq 'INSTEON_THERMOSTAT') {
require 'Insteon_Thermostat.pm';
require Insteon::Thermostat;
($address, $name, $grouplist, $object, @other) = @item_info;
$other = join ', ', (map {"'$_'"} @other); # Quote data
$object = "Insteon_Thermostat(\$$object, \'$address\', $other)";
$object = "Insteon::Thermostat(\'$address\', $other)";
}
elsif($type eq "INSTEON_IRRIGATION") {
require 'Insteon_Irrigation.pm';
Expand Down

0 comments on commit 96baeab

Please sign in to comment.