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:
vk
2017-12-01 07:31:38 +00:00
parent a5e20beb51
commit f2f2ce737e

View File

@@ -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,