mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Fix formatting of mac addresses from dhcp discovery mocking in ruuvi_gateway (#110597)
dhcp returns addresses in lowercase without :
This commit is contained in:
parent
28afe9ff9e
commit
1f67e4fed1
@ -34,7 +34,7 @@ DHCP_DATA = {**BASE_DATA, "host": DHCP_IP}
|
|||||||
dhcp.DhcpServiceInfo(
|
dhcp.DhcpServiceInfo(
|
||||||
hostname="RuuviGateway1234",
|
hostname="RuuviGateway1234",
|
||||||
ip=DHCP_IP,
|
ip=DHCP_IP,
|
||||||
macaddress="12:34:56:78:90:ab",
|
macaddress="1234567890ab",
|
||||||
),
|
),
|
||||||
{"source": config_entries.SOURCE_DHCP},
|
{"source": config_entries.SOURCE_DHCP},
|
||||||
DHCP_DATA,
|
DHCP_DATA,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user