Skip to content
Snippets Groups Projects
Commit 3406b41b authored by Fabian Affolter's avatar Fabian Affolter
Browse files

Fix return value

parent 2e791215
No related branches found
No related tags found
No related merge requests found
......@@ -38,8 +38,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
_LOGGER.exception(
"Unable to determine stations. "
"Check your settings and/or the availability of opendata.ch")
return None
return False
dev = []
data = PublicTransportData(journey)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment