mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 05:20:17 +00:00
Zeroconf lowercase (#44675)
This commit is contained in:
@@ -242,13 +242,17 @@ async def test_zeroconf_match(hass, mock_zeroconf):
|
||||
handlers[0](
|
||||
zeroconf,
|
||||
"_http._tcp.local.",
|
||||
"shelly108._http._tcp.local.",
|
||||
"Shelly108._http._tcp.local.",
|
||||
ServiceStateChange.Added,
|
||||
)
|
||||
|
||||
with patch.dict(
|
||||
zc_gen.ZEROCONF,
|
||||
{"_http._tcp.local.": [{"domain": "shelly", "name": "shelly*"}]},
|
||||
{
|
||||
"_http._tcp.local.": [
|
||||
{"domain": "shelly", "name": "shelly*", "macaddress": "FFAADD*"}
|
||||
]
|
||||
},
|
||||
clear=True,
|
||||
), patch.object(
|
||||
hass.config_entries.flow, "async_init"
|
||||
|
||||
Reference in New Issue
Block a user