diff --git a/82_LGTV_WebOS.pm b/82_LGTV_WebOS.pm index d946cc6..4f60766 100644 --- a/82_LGTV_WebOS.pm +++ b/82_LGTV_WebOS.pm @@ -956,8 +956,7 @@ 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 (not registered)') { + if($decode_json->{error} eq '401 insufficient permissions' or $decode_json->{error} eq '401 insufficient permissions (not registered)') { readingsBulkUpdate($hash,'pairing','unpaired'); }