Fix return value

pull/390/head
Fabian Affolter 2015-09-14 14:21:55 +02:00
parent 3c3eadbef5
commit 8ec0c36457
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
_LOGGER.error(
"Connection error "
"Please check your settings for OpenWeatherMap.")
return None
return False
data = WeatherData(owm, forecast, hass.config.latitude,
hass.config.longitude)