From 2b90d968b47e93f187314db264064abc40cde3d1 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 20 Jan 2024 20:39:05 +0100 Subject: [PATCH] Fix hassfest icon schema for service only (#108494) --- script/hassfest/icons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/hassfest/icons.py b/script/hassfest/icons.py index e82aed855b2..1b993ddece3 100644 --- a/script/hassfest/icons.py +++ b/script/hassfest/icons.py @@ -73,7 +73,7 @@ def icon_schema(integration_type: str) -> vol.Schema: ) return base_schema.extend( { - vol.Required("entity"): cv.schema_with_slug_keys( + vol.Optional("entity"): cv.schema_with_slug_keys( cv.schema_with_slug_keys( icon_schema_slug(vol.Optional), slug_validator=translation_key_validator,