2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

09_CUL_FHTTK.pm: fixed PERL WARNING: Argument "0c" isn't numeric in sprintf at ./FHEM/09_CUL_FHTTK.pm line 265.

git-svn-id: https://svn.fhem.de/fhem/trunk@12242 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
matscher 2016-10-02 17:42:19 +00:00
parent 5fba1e8cdc
commit 4060800b2f

View File

@ -262,7 +262,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 (%d) secs ago", $defs{$name}{PREV}{STATE}, time()-$defs{$name}{PREV}{TIMESTAMP});
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});
return "";
}
}
@ -333,6 +333,8 @@ CUL_FHTTK_Parse($$)
1;
=pod
=item summary support for the window sensor fht80tf and fht80tf-2
=item summary_DE Einbindung des fht80tf und fht80tf-2 Fensterkontaktes
=begin html
<a name="CUL_FHTTK"></a>