Fix return value
This commit is contained in:
parent
3c3eadbef5
commit
8ec0c36457
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue