mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Fix hassfest icon schema for service only (#108494)
This commit is contained in:
parent
6374ee9378
commit
2b90d968b4
@ -73,7 +73,7 @@ def icon_schema(integration_type: str) -> vol.Schema:
|
|||||||
)
|
)
|
||||||
return base_schema.extend(
|
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(
|
cv.schema_with_slug_keys(
|
||||||
icon_schema_slug(vol.Optional),
|
icon_schema_slug(vol.Optional),
|
||||||
slug_validator=translation_key_validator,
|
slug_validator=translation_key_validator,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user