From e7fd6ec24d9de2973cf28fa171186bf7bcd0cf0f Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 9 Jun 2021 09:45:13 +0200 Subject: [PATCH] fix function call --- controls_HailoLibero.txt | 2 +- lib/FHEM/Hailo/Libero.pm | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/controls_HailoLibero.txt b/controls_HailoLibero.txt index c3e6c4c..c0266d0 100644 --- a/controls_HailoLibero.txt +++ b/controls_HailoLibero.txt @@ -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 diff --git a/lib/FHEM/Hailo/Libero.pm b/lib/FHEM/Hailo/Libero.pm index 46df2d1..eb3d4d5 100644 --- a/lib/FHEM/Hailo/Libero.pm +++ b/lib/FHEM/Hailo/Libero.pm @@ -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"; }