From 9e156bab3b61b16df9fc6293f73a1ee57aeb0fc9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 19 Dec 2021 06:32:58 -0600 Subject: [PATCH] Adjust zeroconf manifest for properties filter (#1159) --- docs/creating_integration_manifest.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/creating_integration_manifest.md b/docs/creating_integration_manifest.md index abb7bf76..44001934 100644 --- a/docs/creating_integration_manifest.md +++ b/docs/creating_integration_manifest.md @@ -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