mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Update error message
This commit is contained in:
parent
9bf8835190
commit
4a0ec36fea
@ -54,8 +54,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||||||
'Add http:// to your URL.')
|
'Add http:// to your URL.')
|
||||||
return False
|
return False
|
||||||
except requests.exceptions.ConnectionError:
|
except requests.exceptions.ConnectionError:
|
||||||
_LOGGER.error('No route to resource/endpoint. '
|
_LOGGER.error('No route to resource/endpoint: %s',
|
||||||
'Please check the URL in the configuration file.')
|
resource)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if use_get:
|
if use_get:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user