2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 17:36:01 +00:00

longid correction for temphydro devices

git-svn-id: https://svn.fhem.de/fhem/trunk@3874 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
wherzig 2013-09-08 04:26:07 +00:00
parent fff7695c34
commit 95ef2fc465

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]);
}