call internaltimer after success read data

This commit is contained in:
Sebastian 2021-06-16 20:19:54 +02:00
parent e7fd6ec24d
commit 0a59c935e4
2 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,2 @@
UPD 2021-06-09_08:34:36 5354 FHEM/73_HailoLibero.pm UPD 2021-06-09_08:34:36 5354 FHEM/73_HailoLibero.pm
UPD 2021-06-09_09:41:13 13439 lib/FHEM/Hailo/Libero.pm UPD 2021-06-16_20:19:30 13553 lib/FHEM/Hailo/Libero.pm

View File

@ -397,6 +397,8 @@ sub ErrorHandling {
readingsBulkUpdateIfChanged($hash, 'detection_sensitivity', $detection_sensitivity); readingsBulkUpdateIfChanged($hash, 'detection_sensitivity', $detection_sensitivity);
readingsBulkUpdateIfChanged($hash, 'eject_delay', $eject_delay); readingsBulkUpdateIfChanged($hash, 'eject_delay', $eject_delay);
readingsEndUpdate( $hash, 1 ); readingsEndUpdate( $hash, 1 );
InternalTimer( gettimeofday() + $hash->{INTERVAL},
"FHEM::Hailo::Libero::getCookie", $hash );
} }
} }