24_TPLinkHS110: corrected error with needless )
git-svn-id: https://svn.fhem.de/fhem/trunk@15532 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -125,7 +125,7 @@ sub TPLinkHS110_Get($$)
|
||||
readingsBulkUpdate($hash, "state", "on");
|
||||
}
|
||||
# If the device is a HS110, get realtime data:
|
||||
if ($json->{'system'}->{'get_sysinfo'}->{'model'} eq "HS110(EU)" or $json->{'system'}->{'get_sysinfo'}->{'model'} eq "HS110(UK)")) {
|
||||
if ($json->{'system'}->{'get_sysinfo'}->{'model'} eq "HS110(EU)" or $json->{'system'}->{'get_sysinfo'}->{'model'} eq "HS110(UK)") {
|
||||
my $realtimejcommand='{"emeter":{"get_realtime":{}}}';
|
||||
my $rc = encrypt($realtimejcommand);
|
||||
my $socket = IO::Socket::INET->new(PeerAddr => $remote_host,
|
||||
|
||||
Reference in New Issue
Block a user