mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
09_CUL_FHTTK.pm: - corrected call sprintf (PERL WARNING: Redundant argument in sprintf at ...)
git-svn-id: https://svn.fhem.de/fhem/trunk@17083 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
15c91dff65
commit
7e83ea2dfe
@ -291,7 +291,7 @@ CUL_FHTTK_Parse($$)
|
||||
if($defs{$name}{PREV}{TIMESTAMP} > time()-5) {
|
||||
if(defined($defs{$name}{PREV}{STATE})) {
|
||||
if($defs{$name}{PREV}{STATE} eq $state) {
|
||||
Log3 $name, 4, sprintf("FHTTK skipping state $state as last similar telegram was received less than 5 (%s) secs ago", $defs{$name}{PREV}{STATE}, time()-$defs{$name}{PREV}{TIMESTAMP});
|
||||
Log3 $name, 4, sprintf("FHTTK skipping state (%s) as last similar telegram was received less than 5 (%s) secs ago", $defs{$name}{PREV}{STATE}, time()-$defs{$name}{PREV}{TIMESTAMP});
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user