bugfixes
This commit is contained in:
parent
5d66cdc955
commit
8a17d3f744
@ -606,7 +606,7 @@ sub LGTV_WebOS_Close($) {
|
||||
delete($hash->{CD});
|
||||
delete($selectlist{$name});
|
||||
|
||||
readingsSingleUpdate($hash, 'state', 'off', 1);
|
||||
readingsSingleUpdate($hash,'state','off',1);
|
||||
|
||||
Log3 $name, 4, "LGTV_WebOS ($name) - Socket Disconnected";
|
||||
}
|
||||
@ -785,7 +785,7 @@ sub LGTV_WebOS_ResponseProcessing($$) {
|
||||
if ($keyAccept eq $expectedResponse) {
|
||||
|
||||
Log3 $name, 3, "LGTV_WebOS ($name) - Sucessfull WS connection to $hash->{HOST}";
|
||||
readingsSingleUpdate($hash, 'state', 'on', 1 );
|
||||
readingsSingleUpdate($hash,'state','on',1);
|
||||
|
||||
} else {
|
||||
LGTV_WebOS_Close($hash);
|
||||
|
Loading…
x
Reference in New Issue
Block a user