mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix formatting of mac addresses from dhcp discovery mocking in unifiprotect (#110610)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
2a04eabe18
commit
2fe246441f
@ -38,7 +38,7 @@ from tests.common import MockConfigEntry
|
|||||||
DHCP_DISCOVERY = dhcp.DhcpServiceInfo(
|
DHCP_DISCOVERY = dhcp.DhcpServiceInfo(
|
||||||
hostname=DEVICE_HOSTNAME,
|
hostname=DEVICE_HOSTNAME,
|
||||||
ip=DEVICE_IP_ADDRESS,
|
ip=DEVICE_IP_ADDRESS,
|
||||||
macaddress=DEVICE_MAC_ADDRESS,
|
macaddress=DEVICE_MAC_ADDRESS.lower().replace(":", ""),
|
||||||
)
|
)
|
||||||
SSDP_DISCOVERY = (
|
SSDP_DISCOVERY = (
|
||||||
ssdp.SsdpServiceInfo(
|
ssdp.SsdpServiceInfo(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user