longid correction for temphydro devices

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3874 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
wherzig
2013-09-08 04:26:07 +00:00
parent 3275730246
commit 9c09cfc92f

View File

@@ -577,7 +577,8 @@ sub TRX_WEATHER_common_temphydro {
#Log3 undef, 1,"TRX_WEATHER: TFA 9";
$dev_str .= $DOT."9";
}
} elsif ($bytes->[4] > 0) {
}
if ($dev_type ne "TFATS34C" && $bytes->[4] > 0) {
$dev_str .= $DOT.sprintf("%d", $bytes->[4]);
}