mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
ee101dbb2b
commit
db2a0bb98a
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user