mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
Temp: make it always 0.1
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3302 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
989ddf49b3
commit
0e411f531f
@ -462,8 +462,8 @@ FHT_Parse($$)
|
|||||||
|
|
||||||
if(defined($def->{".measuredLow"})) {
|
if(defined($def->{".measuredLow"})) {
|
||||||
|
|
||||||
$val = ($val*256.0 + $def->{".measuredLow"})/10.0+
|
$val = sprintf("%.1f", ($val*256.0 + $def->{".measuredLow"})/10.0+
|
||||||
AttrVal($name, "tmpcorr", 0.0);
|
AttrVal($name, "tmpcorr", 0.0));
|
||||||
$cmd = "measured-temp";
|
$cmd = "measured-temp";
|
||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user