Use core GitHub URL in all files (#41089)

This commit is contained in:
springstan 2020-10-03 00:04:11 +02:00 committed by GitHub
parent 005898a0d9
commit a2c3c33b22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 21 additions and 21 deletions

View File

@ -1,6 +1,6 @@
<ul>
<li><a href="https://home-assistant.io/">Homepage</a></li>
<li><a href="https://community.home-assistant.io">Community Forums</a></li>
<li><a href="https://github.com/home-assistant/home-assistant">GitHub</a></li>
<li><a href="https://github.com/home-assistant/core">GitHub</a></li>
<li><a href="https://discord.gg/c5DvZ4e">Discord</a></li>
</ul>

View File

@ -70,7 +70,7 @@ class EcobeeBinarySensor(BinarySensorEntity):
_LOGGER.error(
"Model number for ecobee thermostat %s not recognized. "
"Please visit this link and provide the following information: "
"https://github.com/home-assistant/home-assistant/issues/27172 "
"https://github.com/home-assistant/core/issues/27172 "
"Unrecognized model number: %s",
thermostat["name"],
thermostat["modelNumber"],

View File

@ -351,7 +351,7 @@ class Thermostat(ClimateEntity):
_LOGGER.error(
"Model number for ecobee thermostat %s not recognized. "
"Please visit this link and provide the following information: "
"https://github.com/home-assistant/home-assistant/issues/27172 "
"https://github.com/home-assistant/core/issues/27172 "
"Unrecognized model number: %s",
self.name,
self.thermostat["modelNumber"],

View File

@ -82,7 +82,7 @@ class EcobeeSensor(Entity):
_LOGGER.error(
"Model number for ecobee thermostat %s not recognized. "
"Please visit this link and provide the following information: "
"https://github.com/home-assistant/home-assistant/issues/27172 "
"https://github.com/home-assistant/core/issues/27172 "
"Unrecognized model number: %s",
thermostat["name"],
thermostat["modelNumber"],

View File

@ -74,7 +74,7 @@ class EcobeeWeather(WeatherEntity):
_LOGGER.error(
"Model number for ecobee thermostat %s not recognized. "
"Please visit this link and provide the following information: "
"https://github.com/home-assistant/home-assistant/issues/27172 "
"https://github.com/home-assistant/core/issues/27172 "
"Unrecognized model number: %s",
thermostat["name"],
thermostat["modelNumber"],

View File

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

View File

@ -41,7 +41,7 @@ STATE_ATTR_NEXT_SETTING = "next_setting"
# The algorithm used here is somewhat complicated. It aims to cut down
# the number of sensor updates over the day. It's documented best in
# the PR for the change, see the Discussion section of:
# https://github.com/home-assistant/home-assistant/pull/23832
# https://github.com/home-assistant/core/pull/23832
# As documented in wikipedia: https://en.wikipedia.org/wiki/Twilight

View File

@ -289,7 +289,7 @@ class VizioDevice(MediaPlayerEntity):
) -> None:
"""Send update event when Vizio config entry is updated."""
# Move this method to component level if another entity ever gets added for a single config entry.
# See here: https://github.com/home-assistant/home-assistant/pull/30653#discussion_r366426121
# See here: https://github.com/home-assistant/core/pull/30653#discussion_r366426121
async_dispatcher_send(hass, config_entry.entry_id, config_entry)
async def _async_update_options(self, config_entry: ConfigEntry) -> None:

View File

@ -254,7 +254,7 @@ class XiaomiMotionSensor(XiaomiBinarySensor):
_LOGGER.debug(
"Skipping heartbeat of the motion sensor. "
"It can introduce an incorrect state because of a firmware "
"bug (https://github.com/home-assistant/home-assistant/pull/"
"bug (https://github.com/home-assistant/core/pull/"
"11631#issuecomment-357507744)"
)
return

View File

@ -702,7 +702,7 @@ def deprecated(
else:
# If Python is unable to access the sources files, the call stack frame
# will be missing information, so let's guard.
# https://github.com/home-assistant/home-assistant/issues/24982
# https://github.com/home-assistant/core/issues/24982
module_name = __name__
if replacement_key and invalidation_version:

View File

@ -60,7 +60,7 @@ def get_deprecated(
else:
# If Python is unable to access the sources files, the call stack frame
# will be missing information, so let's guard.
# https://github.com/home-assistant/home-assistant/issues/24982
# https://github.com/home-assistant/core/issues/24982
module_name = __name__
logger = logging.getLogger(module_name)

View File

@ -362,7 +362,7 @@ class Entity(ABC):
else:
extra = (
"Please create a bug report at "
"https://github.com/home-assistant/home-assistant/issues?q=is%3Aopen+is%3Aissue"
"https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue"
)
if self.platform:
extra += (

View File

@ -98,7 +98,7 @@ def log_exception(format_err: Callable[..., Any], *args: Any) -> None:
else:
# If Python is unable to access the sources files, the call stack frame
# will be missing information, so let's guard.
# https://github.com/home-assistant/home-assistant/issues/24982
# https://github.com/home-assistant/core/issues/24982
module_name = __name__
# Do not print the wrapper in the traceback

View File

@ -277,7 +277,7 @@ async def test_legacy_get_or_create_credentials(hass, legacy_data):
async def test_race_condition_in_data_loading(hass):
"""Test race condition in the hass_auth.Data loading.
Ref issue: https://github.com/home-assistant/home-assistant/issues/21569
Ref issue: https://github.com/home-assistant/core/issues/21569
"""
counter = 0

View File

@ -1,7 +1,7 @@
"""
Regression tests for Aqara Gateway V3.
https://github.com/home-assistant/home-assistant/issues/20957
https://github.com/home-assistant/core/issues/20957
"""
from homeassistant.components.light import SUPPORT_BRIGHTNESS, SUPPORT_COLOR

View File

@ -1,7 +1,7 @@
"""
Regression tests for Ecobee 3.
https://github.com/home-assistant/home-assistant/issues/15336
https://github.com/home-assistant/core/issues/15336
"""
from unittest import mock

View File

@ -1,7 +1,7 @@
"""
Regression tests for Ecobee occupancy.
https://github.com/home-assistant/home-assistant/issues/31827
https://github.com/home-assistant/core/issues/31827
"""
from tests.components.homekit_controller.common import (

View File

@ -59,7 +59,7 @@ async def test_recover_from_failure(hass, utcnow, failure_cls):
"""
Test that entity actually recovers from a network connection drop.
See https://github.com/home-assistant/home-assistant/issues/18949
See https://github.com/home-assistant/core/issues/18949
"""
accessories = await setup_accessories_from_file(hass, "koogeek_ls1.json")
config_entry, pairing = await setup_test_accessories(hass, accessories)

View File

@ -1,7 +1,7 @@
"""
Regression tests for Aqara Gateway V3.
https://github.com/home-assistant/home-assistant/issues/20885
https://github.com/home-assistant/core/issues/20885
"""
from homeassistant.components.climate.const import SUPPORT_TARGET_TEMPERATURE

View File

@ -1,7 +1,7 @@
"""
Test against characteristics captured from a SIMPLEconnect Fan.
https://github.com/home-assistant/home-assistant/issues/26180
https://github.com/home-assistant/core/issues/26180
"""
from homeassistant.components.fan import SUPPORT_DIRECTION, SUPPORT_SET_SPEED

View File

@ -671,7 +671,7 @@ async def test_warn_slow_write_state(hass, caplog):
"Updating state for comp_test.test_entity "
"(<class 'homeassistant.helpers.entity.Entity'>) "
"took 10.000 seconds. Please create a bug report at "
"https://github.com/home-assistant/home-assistant/issues?"
"https://github.com/home-assistant/core/issues?"
"q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+hue%22"
) in caplog.text