mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Add SOURCE_HASSIO to DISCOVERY_SOURCES (#128454)
This commit is contained in:
parent
dfb94d8917
commit
0e7297873c
@ -170,6 +170,7 @@ DISCOVERY_SOURCES = {
|
||||
SOURCE_DHCP,
|
||||
SOURCE_DISCOVERY,
|
||||
SOURCE_HARDWARE,
|
||||
SOURCE_HASSIO,
|
||||
SOURCE_HOMEKIT,
|
||||
SOURCE_IMPORT,
|
||||
SOURCE_INTEGRATION_DISCOVERY,
|
||||
|
@ -7,7 +7,6 @@ from motioneye_client.client import (
|
||||
MotionEyeClientInvalidAuthError,
|
||||
MotionEyeClientRequestError,
|
||||
)
|
||||
import pytest
|
||||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.components.hassio import HassioServiceInfo
|
||||
@ -391,10 +390,6 @@ async def test_hassio_ignored(hass: HomeAssistant) -> None:
|
||||
assert result.get("reason") == "already_configured"
|
||||
|
||||
|
||||
@pytest.mark.parametrize( # Remove when translations fixed
|
||||
"ignore_translations",
|
||||
["component.motioneye.config.abort.already_in_progress"],
|
||||
)
|
||||
async def test_hassio_abort_if_already_in_progress(hass: HomeAssistant) -> None:
|
||||
"""Test Supervisor discovered flow aborts if user flow in progress."""
|
||||
result = await hass.config_entries.flow.async_init(
|
||||
|
Loading…
x
Reference in New Issue
Block a user