mirror of
https://github.com/CyanoFresh/SmartHomePHP.git
synced 2026-02-19 19:01:20 +01:00
Fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user