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) ) {
|
} elsif( IsDisabled($name) ) {
|
||||||
|
|
||||||
LGTV_WebOS_Close($hash);
|
LGTV_WebOS_Close($hash);
|
||||||
|
LGTV_WebOS_Presence($hash) if( AttrVal($name,'pingPresence', 0) == 1 );
|
||||||
$hash->{helper}{device}{runsetcmd} = 0;
|
$hash->{helper}{device}{runsetcmd} = 0;
|
||||||
readingsBulkUpdate($hash, 'state', 'disabled');
|
readingsBulkUpdate($hash, 'state', 'disabled');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user