mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add Apple brand (#79227)
This commit is contained in:
@@ -51,10 +51,8 @@ def _validate_brand(
|
||||
f"'{sub_integration}' to 'integrations'",
|
||||
)
|
||||
|
||||
if (
|
||||
brand.domain in integrations
|
||||
and not brand.integrations
|
||||
or brand.domain not in brand.integrations
|
||||
if brand.domain in integrations and (
|
||||
not brand.integrations or brand.domain not in brand.integrations
|
||||
):
|
||||
config.add_error(
|
||||
"brand",
|
||||
|
||||
Reference in New Issue
Block a user