mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
update errror message
This commit is contained in:
parent
1c3fa89914
commit
72426e08b8
@ -62,7 +62,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||||||
try:
|
try:
|
||||||
response = get(resource)
|
response = get(resource)
|
||||||
except exceptions.MissingSchema:
|
except exceptions.MissingSchema:
|
||||||
_LOGGER.error("Missing schema in configuration. "
|
_LOGGER.error("Missing resource or schema in configuration. "
|
||||||
"Add http:// to your URL.")
|
"Add http:// to your URL.")
|
||||||
return False
|
return False
|
||||||
except exceptions.ConnectionError:
|
except exceptions.ConnectionError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user