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