mirror of
https://github.com/home-assistant/core
synced 2024-07-12 07:21:24 +02:00
spelling: components/devolo_home_network (#64243)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
8f074bf0e3
commit
aa57b29615
@ -76,7 +76,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
async def async_step_zeroconf(
|
||||
self, discovery_info: zeroconf.ZeroconfServiceInfo
|
||||
) -> FlowResult:
|
||||
"""Handle zerooconf discovery."""
|
||||
"""Handle zeroconf discovery."""
|
||||
if discovery_info.properties["MT"] in ["2600", "2601"]:
|
||||
return self.async_abort(reason="home_control")
|
||||
|
||||
|
@ -174,7 +174,7 @@ async def test_abort_if_configued(hass: HomeAssistant):
|
||||
@pytest.mark.usefixtures("mock_device")
|
||||
@pytest.mark.usefixtures("mock_zeroconf")
|
||||
async def test_validate_input(hass: HomeAssistant):
|
||||
"""Test input validaton."""
|
||||
"""Test input validation."""
|
||||
info = await config_flow.validate_input(hass, {CONF_IP_ADDRESS: IP})
|
||||
assert SERIAL_NUMBER in info
|
||||
assert TITLE in info
|
||||
|
Loading…
Reference in New Issue
Block a user