diff --git a/homeassistant/components/sensor/zwave.py b/homeassistant/components/sensor/zwave.py index 982dc8821c3..7edf3962c8c 100644 --- a/homeassistant/components/sensor/zwave.py +++ b/homeassistant/components/sensor/zwave.py @@ -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 diff --git a/homeassistant/components/zwave.py b/homeassistant/components/zwave.py index d27e30f26c6..41bcfb876ae 100644 --- a/homeassistant/components/zwave.py +++ b/homeassistant/components/zwave.py @@ -81,9 +81,9 @@ def setup(hass, config): if use_debug: def log_all(signal, value=None): - """ Log all the louie signals. """ + """ Log all the signals. """ print("") - print("LOUIE SIGNAL *****", signal) + print("SIGNAL *****", signal) if value and signal in (ZWaveNetwork.SIGNAL_VALUE_CHANGED, ZWaveNetwork.SIGNAL_VALUE_ADDED): pprint(_obj_to_dict(value)) diff --git a/scripts/build_python_openzwave b/scripts/build_python_openzwave index 4c5224747a7..24bd8e2b64f 100755 --- a/scripts/build_python_openzwave +++ b/scripts/build_python_openzwave @@ -19,7 +19,7 @@ if [ -d python-openzwave ]; then git pull --recurse-submodules=yes git submodule update --init --recursive else - git clone -b python-3-support --recursive https://github.com/balloob/python-openzwave.git + git clone --recursive https://github.com/balloob/python-openzwave.git cd python-openzwave fi