mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Mark before/after times as required for times of the day config flow (#68789)
This commit is contained in:
parent
c3d937fb0f
commit
d81ee9b2da
@ -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": {}}),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user