mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Fix formatting of mac addresses from dhcp discovery mocking in vicare (#110613)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
fa026b7e12
commit
e6ac4c5f1f
@ -30,7 +30,7 @@ VALID_CONFIG = {
|
|||||||
DHCP_INFO = dhcp.DhcpServiceInfo(
|
DHCP_INFO = dhcp.DhcpServiceInfo(
|
||||||
ip="1.1.1.1",
|
ip="1.1.1.1",
|
||||||
hostname="mock_hostname",
|
hostname="mock_hostname",
|
||||||
macaddress=MOCK_MAC,
|
macaddress=MOCK_MAC.lower().replace(":", ""),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user