Complete adding custom integration action sections support to hassfest (#132443)

pull/133492/head
Markus Jacobsen 2024-12-18 14:50:12 +01:00 committed by GitHub
parent 9716183997
commit 2d6d313e5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ CUSTOM_INTEGRATION_FIELD_SCHEMA = CORE_INTEGRATION_FIELD_SCHEMA.extend(
CUSTOM_INTEGRATION_SECTION_SCHEMA = vol.Schema(
{
vol.Optional("description"): str,
vol.Optional("name"): str,
vol.Optional("collapsed"): bool,
vol.Required("fields"): vol.Schema({str: CUSTOM_INTEGRATION_FIELD_SCHEMA}),
}