fix function call

This commit is contained in:
Sebastian 2021-06-09 09:45:13 +02:00
parent 732fa6ed4a
commit e7fd6ec24d
2 changed files with 2 additions and 6 deletions

View File

@ -1,2 +1,2 @@
UPD 2021-06-09_08:34:36 5354 FHEM/73_HailoLibero.pm
UPD 2021-06-09_08:40:28 13545 lib/FHEM/Hailo/Libero.pm
UPD 2021-06-09_09:41:13 13439 lib/FHEM/Hailo/Libero.pm

View File

@ -203,14 +203,10 @@ sub Notify {
grep /^state:.connected$/,
@{$events}
)
&& (
ReadingsVal( $name, 'cookie', 'none' ) ne 'none'
)
)
{
getCookie($hash);
InternalTimer( gettimeofday() + $hash->{INTERVAL},
"FHEM::HailoLibero::getCookie", $hash );
"FHEM::Hailo::Libero::getCookie", $hash );
Log3 $name, 4,
"HailoLibero ($name) - set internal timer function for recall getCookie sub";
}