mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Mark before/after times as required for times of the day config flow (#68789)
This commit is contained in:
@@ -18,8 +18,8 @@ from .const import CONF_AFTER_TIME, CONF_BEFORE_TIME, DOMAIN
|
|||||||
|
|
||||||
OPTIONS_SCHEMA = vol.Schema(
|
OPTIONS_SCHEMA = vol.Schema(
|
||||||
{
|
{
|
||||||
vol.Optional(CONF_AFTER_TIME): selector.selector({"time": {}}),
|
vol.Required(CONF_AFTER_TIME): selector.selector({"time": {}}),
|
||||||
vol.Optional(CONF_BEFORE_TIME): selector.selector({"time": {}}),
|
vol.Required(CONF_BEFORE_TIME): selector.selector({"time": {}}),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user