mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
OTBR: remove links to obsolete multiprotocol docs (#145394)
This commit is contained in:
parent
bbd223af1f
commit
743abadfcf
@ -19,9 +19,7 @@ from homeassistant.components.homeassistant_hardware.silabs_multiprotocol_addon
|
|||||||
MultiprotocolAddonManager,
|
MultiprotocolAddonManager,
|
||||||
get_multiprotocol_addon_manager,
|
get_multiprotocol_addon_manager,
|
||||||
is_multiprotocol_url,
|
is_multiprotocol_url,
|
||||||
multi_pan_addon_using_device,
|
|
||||||
)
|
)
|
||||||
from homeassistant.components.homeassistant_yellow import RADIO_DEVICE as YELLOW_RADIO
|
|
||||||
from homeassistant.config_entries import SOURCE_USER
|
from homeassistant.config_entries import SOURCE_USER
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
from homeassistant.exceptions import HomeAssistantError
|
from homeassistant.exceptions import HomeAssistantError
|
||||||
@ -34,10 +32,6 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
INFO_URL_SKY_CONNECT = (
|
|
||||||
"https://skyconnect.home-assistant.io/multiprotocol-channel-missmatch"
|
|
||||||
)
|
|
||||||
INFO_URL_YELLOW = "https://yellow.home-assistant.io/multiprotocol-channel-missmatch"
|
|
||||||
|
|
||||||
INSECURE_NETWORK_KEYS = (
|
INSECURE_NETWORK_KEYS = (
|
||||||
# Thread web UI default
|
# Thread web UI default
|
||||||
@ -208,16 +202,12 @@ async def _warn_on_channel_collision(
|
|||||||
delete_issue()
|
delete_issue()
|
||||||
return
|
return
|
||||||
|
|
||||||
yellow = await multi_pan_addon_using_device(hass, YELLOW_RADIO)
|
|
||||||
learn_more_url = INFO_URL_YELLOW if yellow else INFO_URL_SKY_CONNECT
|
|
||||||
|
|
||||||
ir.async_create_issue(
|
ir.async_create_issue(
|
||||||
hass,
|
hass,
|
||||||
DOMAIN,
|
DOMAIN,
|
||||||
f"otbr_zha_channel_collision_{otbrdata.entry_id}",
|
f"otbr_zha_channel_collision_{otbrdata.entry_id}",
|
||||||
is_fixable=False,
|
is_fixable=False,
|
||||||
is_persistent=False,
|
is_persistent=False,
|
||||||
learn_more_url=learn_more_url,
|
|
||||||
severity=ir.IssueSeverity.WARNING,
|
severity=ir.IssueSeverity.WARNING,
|
||||||
translation_key="otbr_zha_channel_collision",
|
translation_key="otbr_zha_channel_collision",
|
||||||
translation_placeholders={
|
translation_placeholders={
|
||||||
|
Loading…
x
Reference in New Issue
Block a user