Update documentation link URL for integrations (part2) (#27117)
This commit is contained in:
parent
04ead6f273
commit
d4a67e3a30
50 changed files with 58 additions and 56 deletions
|
@ -60,7 +60,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||
DATA_PERSISTENT_ERRORS = "bootstrap_persistent_errors"
|
||||
RE_YAML_ERROR = re.compile(r"homeassistant\.util\.yaml")
|
||||
RE_ASCII = re.compile(r"\033\[[^m]*m")
|
||||
HA_COMPONENT_URL = "[{}](https://home-assistant.io/components/{}/)"
|
||||
HA_COMPONENT_URL = "[{}](https://home-assistant.io/integrations/{}/)"
|
||||
YAML_CONFIG_FILE = "configuration.yaml"
|
||||
VERSION_FILE = ".HA_VERSION"
|
||||
CONFIG_DIR_NAME = ".homeassistant"
|
||||
|
@ -462,7 +462,7 @@ def _format_config_error(ex: Exception, domain: str, config: Dict) -> str:
|
|||
if domain != CONF_CORE:
|
||||
message += (
|
||||
"Please check the docs at "
|
||||
"https://home-assistant.io/components/{}/".format(domain)
|
||||
"https://home-assistant.io/integrations/{}/".format(domain)
|
||||
)
|
||||
|
||||
return message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue