mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Fix formatting of mac addresses from dhcp discovery mocking in esphome (#110567)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
08f97d66ff
commit
730e8ab5f3
@ -1128,7 +1128,7 @@ async def test_discovery_dhcp_no_changes(
|
||||
service_info = dhcp.DhcpServiceInfo(
|
||||
ip="192.168.43.183",
|
||||
hostname="test8266",
|
||||
macaddress="00:00:00:00:00:00",
|
||||
macaddress="000000000000",
|
||||
)
|
||||
result = await hass.config_entries.flow.async_init(
|
||||
"esphome", context={"source": config_entries.SOURCE_DHCP}, data=service_info
|
||||
|
Loading…
x
Reference in New Issue
Block a user