-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Great work! I would like to see sections and next/next/finish configuration
from homeassistant.data_entry_flow import section --> To group the params.
I'm using this:
vol.Required(CONF_SECTION_ENERGY_QUOTE): section(
vol.Schema(
{
vol.Required(CONF_TARIFF_TYPE, default=TARIFF_TYPES.tariff_mono): selector.SelectSelector(
selector.SelectSelectorConfig(
options=list(TARIFF_TYPES),
translation_key="tariff_types",
mode=selector.SelectSelectorMode.DROPDOWN,
)
),
vol.Required(CONF_NW_LOSS_PERCENTAGE, default=10) : cv.positive_int,
}
), {"collapsed": True},
),
It works, but:
- There's no title in the collapsible group
- If I put the DROPDOWN under a section, I lose the translation....
I would like to see also an example of next/next/finish (e.g. 3 windows to configure the custom component)
Thank you
Metadata
Metadata
Assignees
Labels
No labels