Clarify duration selector (#68731)
This commit is contained in:
parent
cfc8b5fee7
commit
1746677b61
2 changed files with 7 additions and 2 deletions
|
@ -277,6 +277,8 @@ class DurationSelector(Selector):
|
|||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
{
|
||||
# Enable day field in frontend. A selection with `days` set is allowed
|
||||
# even if `enable_day` is not set
|
||||
vol.Optional("enable_day"): cv.boolean,
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue