This commit is contained in:
CyanoFresh
2017-08-03 22:24:38 +03:00
parent e8cc58867a
commit 884316774f

View File

@@ -1472,7 +1472,7 @@ class CoreServer implements MessageComponentInterface
case Item::TYPE_VARIABLE_TEMPERATURE:
case Item::TYPE_VARIABLE_HUMIDITY:
$value = (float)$value;
$value = round($value, 2);
$value = round($value, 1);
return $value;
}