mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix return value
This commit is contained in:
parent
2e7912157b
commit
3406b41b0c
@ -38,8 +38,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||||||
_LOGGER.exception(
|
_LOGGER.exception(
|
||||||
"Unable to determine stations. "
|
"Unable to determine stations. "
|
||||||
"Check your settings and/or the availability of opendata.ch")
|
"Check your settings and/or the availability of opendata.ch")
|
||||||
|
return False
|
||||||
return None
|
|
||||||
|
|
||||||
dev = []
|
dev = []
|
||||||
data = PublicTransportData(journey)
|
data = PublicTransportData(journey)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user