test fix unpaired problem
This commit is contained in:
parent
8a17d3f744
commit
a91acb08ac
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user