Add support for matching the zeroconf model property (#58922)

This commit is contained in:
J. Nick Koston 2021-11-07 07:44:15 -08:00 committed by GitHub
parent ddf0941275
commit b75476e844
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 62 additions and 0 deletions

View file

@ -187,6 +187,7 @@ MANIFEST_SCHEMA = vol.Schema(
str, verify_uppercase, verify_wildcard
),
vol.Optional("manufacturer"): vol.All(str, verify_lowercase),
vol.Optional("model"): vol.All(str, verify_lowercase),
vol.Optional("name"): vol.All(str, verify_lowercase),
}
),