mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Ensure a comment is required when making an exempt for the IQS (#131051)
This commit is contained in:
parent
771952d292
commit
74f68316c8
@ -73,10 +73,16 @@ SCHEMA = vol.Schema(
|
||||
vol.In(["todo", "done"]),
|
||||
vol.Schema(
|
||||
{
|
||||
vol.Required("status"): vol.In(["todo", "done", "exempt"]),
|
||||
vol.Required("status"): vol.In(["todo", "done"]),
|
||||
vol.Optional("comment"): str,
|
||||
}
|
||||
),
|
||||
vol.Schema(
|
||||
{
|
||||
vol.Required("status"): "exempt",
|
||||
vol.Required("comment"): str,
|
||||
}
|
||||
),
|
||||
)
|
||||
for rule in RULES
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user