Some Z-Wave fixes

This commit is contained in:
Paulus Schoutsen committed 2015-03-18 19:15:48 -07:00
1 parent 8ff1bcf242
commit 569b15d790
3 files changed
+5 -3

No files matched your search

+2
View File
@@ -120,6 +120,8 @@ class ZWaveMultilevelSensor(ZWaveSensor):
if self._value.units in ('C', 'F'):
return round(value, 1)
elif isinstance(value, float):
return round(value, 2)
return value