From 060cbaf66b3722480e6bca54c2c32111179e7067 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 24 Oct 2015 00:38:19 +0200 Subject: [PATCH] Add return value --- homeassistant/components/thermostat/radiotherm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/thermostat/radiotherm.py b/homeassistant/components/thermostat/radiotherm.py index 3806b24533c..351ba387cb7 100644 --- a/homeassistant/components/thermostat/radiotherm.py +++ b/homeassistant/components/thermostat/radiotherm.py @@ -36,8 +36,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None): hosts.append(radiotherm.discover.discover_address()) if hosts is None: - _LOGGER.error("No radiotherm thermostats detected") - return + _LOGGER.error("No radiotherm thermostats detected.") + return False hold_temp = config.get(HOLD_TEMP, False) tstats = []