mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Complete adding custom integration action sections support to hassfest (#132443)
This commit is contained in:
parent
9716183997
commit
2d6d313e5c
@ -77,6 +77,8 @@ CUSTOM_INTEGRATION_FIELD_SCHEMA = CORE_INTEGRATION_FIELD_SCHEMA.extend(
|
|||||||
|
|
||||||
CUSTOM_INTEGRATION_SECTION_SCHEMA = vol.Schema(
|
CUSTOM_INTEGRATION_SECTION_SCHEMA = vol.Schema(
|
||||||
{
|
{
|
||||||
|
vol.Optional("description"): str,
|
||||||
|
vol.Optional("name"): str,
|
||||||
vol.Optional("collapsed"): bool,
|
vol.Optional("collapsed"): bool,
|
||||||
vol.Required("fields"): vol.Schema({str: CUSTOM_INTEGRATION_FIELD_SCHEMA}),
|
vol.Required("fields"): vol.Schema({str: CUSTOM_INTEGRATION_FIELD_SCHEMA}),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user