change AttrVal Fn in SocketKeepAlive Fn
This commit is contained in:
Marko Oldenburg 2022-01-05 14:33:06 +01:00
parent a5c287fb67
commit d042ad9e6d

View File

@ -715,7 +715,7 @@ sub LGTV_WebOS_SocketKeepAlive {
if (
int( gettimeofday() ) - int( $hash->{helper}->{lastResponse} ) >
AttrVal( $hash, 'keepAliveCheckTime', 10 ) )
AttrVal( $name, 'keepAliveCheckTime', 10 ) )
{
LGTV_WebOS_SocketClosePresenceAbsent( $hash, 'absent' );
Log3 $name, 3,