Fix issue creation links in log messages (#71638)

This commit is contained in:
Erik Montnemery 2022-05-10 15:22:12 +02:00 committed by GitHub
parent 054ea77b45
commit 68c2b63ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -329,9 +329,9 @@ class EDL21:
self._registered_obis.add((electricity_id, obis)) self._registered_obis.add((electricity_id, obis))
elif obis not in self._OBIS_BLACKLIST: elif obis not in self._OBIS_BLACKLIST:
_LOGGER.warning( _LOGGER.warning(
"Unhandled sensor %s detected. Please report at " "Unhandled sensor %s detected. Please report at %s",
'https://github.com/home-assistant/core/issues?q=is%%3Aissue+label%%3A"integration%%3A+edl21"+',
obis, obis,
"https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+edl21%22",
) )
self._OBIS_BLACKLIST.add(obis) self._OBIS_BLACKLIST.add(obis)

View File

@ -415,8 +415,8 @@ def delete_duplicates(hass: HomeAssistant, session: Session) -> None:
) )
if deleted_short_term_statistics_rows: if deleted_short_term_statistics_rows:
_LOGGER.warning( _LOGGER.warning(
"Deleted duplicated short term statistic rows, please report at " "Deleted duplicated short term statistic rows, please report at %s",
'https://github.com/home-assistant/core/issues?q=is%%3Aissue+label%%3A"integration%%3A+recorder"+' "https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+recorder%22",
) )
@ -1360,8 +1360,8 @@ def _filter_unique_constraint_integrity_error(
if ignore: if ignore:
_LOGGER.warning( _LOGGER.warning(
"Blocked attempt to insert duplicated statistic rows, please report at " "Blocked attempt to insert duplicated statistic rows, please report at %s",
'https://github.com/home-assistant/core/issues?q=is%%3Aissue+label%%3A"integration%%3A+recorder"+', "https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+recorder%22",
exc_info=err, exc_info=err,
) )