Limit flume ConfigEntrySelect to integration domain (#137661)

This commit is contained in:
Marc Mueller 2025-02-07 20:34:52 +01:00 committed by GitHub
parent 3c7b9bec3c
commit 55cda68866
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ SERVICE_LIST_NOTIFICATIONS = "list_notifications"
CONF_CONFIG_ENTRY = "config_entry" CONF_CONFIG_ENTRY = "config_entry"
LIST_NOTIFICATIONS_SERVICE_SCHEMA = vol.All( LIST_NOTIFICATIONS_SERVICE_SCHEMA = vol.All(
{ {
vol.Required(CONF_CONFIG_ENTRY): ConfigEntrySelector(), vol.Required(CONF_CONFIG_ENTRY): ConfigEntrySelector({"integration": DOMAIN}),
}, },
) )