Fix formatting of mac addresses from dhcp discovery mocking in insteon (#110578)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
bba19a5bab
commit
88fce6a76d
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ async def test_form_select_hub_v2(hass: HomeAssistant) -> None:
|
|||
|
||||
async def test_form_discovery_dhcp(hass: HomeAssistant) -> None:
|
||||
"""Test the discovery of the Hub via DHCP."""
|
||||
discovery_info = dhcp.DhcpServiceInfo("1.2.3.4", "", "aa:bb:cc:dd:ee:ff")
|
||||
discovery_info = dhcp.DhcpServiceInfo("1.2.3.4", "", "aabbccddeeff")
|
||||
result = await hass.config_entries.flow.async_init(
|
||||
DOMAIN, context={"source": config_entries.SOURCE_DHCP}, data=discovery_info
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue