Update error message
This commit is contained in:
parent
9bf8835190
commit
4a0ec36fea
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
'Add http:// to your URL.')
|
||||
return False
|
||||
except requests.exceptions.ConnectionError:
|
||||
_LOGGER.error('No route to resource/endpoint. '
|
||||
'Please check the URL in the configuration file.')
|
||||
_LOGGER.error('No route to resource/endpoint: %s',
|
||||
resource)
|
||||
return False
|
||||
|
||||
if use_get:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue