From 91b611acb775c89719986cb24cbf3373c8d36185 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 17 Jun 2015 22:36:54 +0200 Subject: [PATCH] fix return value --- homeassistant/components/sensor/openweathermap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/openweathermap.py b/homeassistant/components/sensor/openweathermap.py index dbbd23322c0..9601dea1aed 100644 --- a/homeassistant/components/sensor/openweathermap.py +++ b/homeassistant/components/sensor/openweathermap.py @@ -81,7 +81,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None): "Unable to import pyowm. " "Did you maybe not install the 'PyOWM' package?") - return None + return False SENSOR_TYPES['temperature'][1] = hass.config.temperature_unit unit = hass.config.temperature_unit