Zeroconf lowercase (#44675)
This commit is contained in:
parent
b290a8b5a1
commit
c7bf7b32a2
5 changed files with 48 additions and 20 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue