test fix unpaired problem
This commit is contained in:
		@@ -956,7 +956,8 @@ sub LGTV_WebOS_WriteReadings($$) {
 | 
			
		||||
        
 | 
			
		||||
            $response = "error - $decode_json->{error}";
 | 
			
		||||
            
 | 
			
		||||
            if($decode_json->{error} eq '401 insufficient permissions' or $decode_json->{error} eq '401 insufficient permissions (not registered)') {
 | 
			
		||||
            #if($decode_json->{error} eq '401 insufficient permissions' or $decode_json->{error} eq '401 insufficient permissions (not registered)') {
 | 
			
		||||
            if($decode_json->{error} eq '401 insufficient permissions (not registered)') {
 | 
			
		||||
            
 | 
			
		||||
                readingsBulkUpdate($hash,'pairing','unpaired');
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user