mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-12 20:06:28 +00:00
Adjust zeroconf manifest for properties filter (#1159)
This commit is contained in:
parent
38b3b85f22
commit
9e156bab3b
@ -132,19 +132,19 @@ Zeroconf is a list so you can specify multiple types to match on.
|
||||
}
|
||||
```
|
||||
|
||||
Certain zeroconf types are very generic (i.e., `_printer._tcp.local.`, `_axis-video._tcp.local.` or `_http._tcp.local`). In such cases you should include a Name (`name`), MAC address (`macaddress`), or Manufacturer (`manufacturer`) filter:
|
||||
Certain zeroconf types are very generic (i.e., `_printer._tcp.local.`, `_axis-video._tcp.local.` or `_http._tcp.local`). In such cases you should include a Name (`name`), or Properties (`properties`) filter:
|
||||
|
||||
```json
|
||||
{
|
||||
"zeroconf": [
|
||||
{"type":"_axis-video._tcp.local.","macaddress":"00408C*"},
|
||||
{"type":"_axis-video._tcp.local.","properties":{"macaddress":"00408c*"}},
|
||||
{"type":"_axis-video._tcp.local.","name":"example*"},
|
||||
{"type":"_airplay._tcp.local.","manufacturer":"samsung*"},
|
||||
{"type":"_airplay._tcp.local.","properties":{"am":"audioaccessory*"}},
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Note that the `name` and `manufacturer` filters should be all lowercase and the `macaddress` filter should be all uppercase.
|
||||
Note that all values in the `properties` filters must be lowercase, and may contain a fnmatch type wildcard.
|
||||
|
||||
## SSDP
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user