2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 07:24:21 +00:00

Temperature should always have a number before the dot

git-svn-id: https://svn.fhem.de/fhem/trunk@1838 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-09-12 13:49:29 +00:00
parent c9e55cd7b9
commit f767ce3d1c

View File

@ -363,7 +363,7 @@ EnOcean_Parse($$)
push @event, "3:tempSensor:" . (($db_2 & 0x04) ? "failed" : "ok");
push @event, "3:window:" . (($db_2 & 0x02) ? "open" : "closed");
push @event, "3:actuatorStatus:".(($db_2 & 0x01) ? "obstructed" : "ok");
push @event, "3:measured-temp:". sprintf "%.1f", ($db_1*40/255);
push @event, "3:measured-temp:". sprintf "%0.1f", ($db_1*40/255);
EnOcean_MD15Cmd($hash, $name, $db_1);
} elsif($model eq "PM101") {