diff --git a/fhem/FHEM/74_AutomowerConnect.pm b/fhem/FHEM/74_AutomowerConnect.pm index 4c55d5b93..28a959bfe 100644 --- a/fhem/FHEM/74_AutomowerConnect.pm +++ b/fhem/FHEM/74_AutomowerConnect.pm @@ -245,7 +245,7 @@ sub APIAuthResponse { $tim[ 0 ] = 0; $tim[ 1 ] = 0; $tim[ 2 ] = 1; - $expire = ::timelocal( @tim ); + $expire = timelocal( @tim ); } $hash->{helper}{auth}{expires} = $expire;