add presence call in IsDisable Condition
This commit is contained in:
parent
3d875e91fc
commit
654e171062
@ -353,6 +353,7 @@ sub LGTV_WebOS_TimerStatusRequest($) {
|
||||
} elsif( IsDisabled($name) ) {
|
||||
|
||||
LGTV_WebOS_Close($hash);
|
||||
LGTV_WebOS_Presence($hash) if( AttrVal($name,'pingPresence', 0) == 1 );
|
||||
$hash->{helper}{device}{runsetcmd} = 0;
|
||||
readingsBulkUpdate($hash, 'state', 'disabled');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user