This commit is contained in:
Marko Oldenburg 2017-10-12 08:00:18 +02:00
parent a91acb08ac
commit 51735ce7b7

View File

@ -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');
}