diff --git a/tests/components/verisure/test_config_flow.py b/tests/components/verisure/test_config_flow.py index f850487fe26..41cabb976c9 100644 --- a/tests/components/verisure/test_config_flow.py +++ b/tests/components/verisure/test_config_flow.py @@ -7,7 +7,7 @@ import pytest from verisure import Error as VerisureError, LoginError as VerisureLoginError from homeassistant import config_entries -from homeassistant.components.dhcp import MAC_ADDRESS +from homeassistant.components import dhcp from homeassistant.components.verisure.const import ( CONF_GIID, CONF_LOCK_CODE_DIGITS, @@ -176,7 +176,7 @@ async def test_dhcp(hass: HomeAssistant) -> None: """Test that DHCP discovery works.""" result = await hass.config_entries.flow.async_init( DOMAIN, - data={MAC_ADDRESS: "01:23:45:67:89:ab"}, + data=dhcp.DhcpServiceInfo(macaddress="01:23:45:67:89:ab"), context={"source": config_entries.SOURCE_DHCP}, )