Issue title: Zeroconf filter `nam*` causes test `zeroconf/test_init.py38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5test_setup` to fail
 Issue body: ### The problem

I'm working on a new integration that uses `zeroconf` for device discovery. The devices use the names `NAM-<serial number>` so I used the `nam*` filter in `manifest.json` file:
```json
"zeroconf": [{"type": "_http._tcp.local.", "name": "nam*"}],
```
This causes the test `tests/components/zeroconf/test_init.py38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5test_setup` to fail with `AssertionError` https://github.com/home-assistant/core/pull/49099/checks?check_run_id=(817)709-6510
```
FAILED tests/components/zeroconf/test_init.py38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5test_setup - AssertionError: assert 26 == 25
```

But when I change `zeroconf` filter to this:
```json
"zeroconf": [{"type": "_http._tcp.local.", "name": "nam-*"}],
```
the test will pass.

### What is version of Home Assistant Core has the issue?

core-2021.5.0.dev0

### What was the last working version of Home Assistant Core?

_No response_

### What type of installation are you running?

Home Assistant Core

### Integration causing the issue

zeroconf

### Link to integration documentation on our website

https://www.home-assistant.io/integrations/zeroconf

### Example YAML snippet

_No response_

### Anything in the logs that might be useful for us?

_No response_

### Additional information

_No response_
 Comments: 
 Comment 0: Hey there @bdraco, mind taking a look at this issue as its been labeled with an integration (`zeroconf`) you are listed as a [codeowner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L558) for? Thanks!
<sub><sup>(message by CodeOwnersMention)</sup></sub>
{'source': 'GithubIssues', 'repo_name_with_owner': 'home-assistant/core', 'issue_id': 865513375, 'repo_stars': 55644.0}