Reorganize trigger code (#38655)
This commit is contained in:
parent
fca071742d
commit
ca9dd0c833
51 changed files with 306 additions and 194 deletions
|
@ -995,6 +995,10 @@ CONDITION_SCHEMA: vol.Schema = key_value_schemas(
|
|||
},
|
||||
)
|
||||
|
||||
TRIGGER_SCHEMA = vol.All(
|
||||
ensure_list, [vol.Schema({vol.Required(CONF_PLATFORM): str}, extra=vol.ALLOW_EXTRA)]
|
||||
)
|
||||
|
||||
_SCRIPT_DELAY_SCHEMA = vol.Schema(
|
||||
{
|
||||
vol.Optional(CONF_ALIAS): string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue