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

Format-Fix

git-svn-id: https://svn.fhem.de/fhem/trunk@1803 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-08-16 12:24:35 +00:00
parent ae8d9a69f0
commit b4cea7b97c

View File

@ -428,7 +428,7 @@ EnOcean_Parse($$)
#################################### ####################################
# $db_1 is the temperature where 0x00 = 40°C and 0xFF 0°C # $db_1 is the temperature where 0x00 = 40°C and 0xFF 0°C
my $temp = sprintf "%3d", $db_1; my $temp = sprintf "%3d", $db_1;
$temp = sprintf "%f.1", ( 40 - $temp * 40 / 255 ) ; $temp = sprintf "%0.1f", ( 40 - $temp * 40 / 255 ) ;
push @event, "3:temperature:$temp"; push @event, "3:temperature:$temp";
push @event, "3:state:$temp"; push @event, "3:state:$temp";