mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Fix formatting of mac addresses from dhcp discovery mocking in verisure (#110611)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
e6ac4c5f1f
commit
2a04eabe18
@ -333,7 +333,7 @@ async def test_dhcp(hass: HomeAssistant) -> None:
|
|||||||
result = await hass.config_entries.flow.async_init(
|
result = await hass.config_entries.flow.async_init(
|
||||||
DOMAIN,
|
DOMAIN,
|
||||||
data=dhcp.DhcpServiceInfo(
|
data=dhcp.DhcpServiceInfo(
|
||||||
ip="1.2.3.4", macaddress="01:23:45:67:89:ab", hostname="mock_hostname"
|
ip="1.2.3.4", macaddress="0123456789ab", hostname="mock_hostname"
|
||||||
),
|
),
|
||||||
context={"source": config_entries.SOURCE_DHCP},
|
context={"source": config_entries.SOURCE_DHCP},
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user