Disallow automation.trigger without entity_id (#14724)
This commit is contained in:
parent
f6eb9e79d5
commit
fcbc399809
2 changed files with 5 additions and 2 deletions
|
@ -98,7 +98,7 @@ SERVICE_SCHEMA = vol.Schema({
|
|||
})
|
||||
|
||||
TRIGGER_SERVICE_SCHEMA = vol.Schema({
|
||||
vol.Optional(ATTR_ENTITY_ID): cv.entity_ids,
|
||||
vol.Required(ATTR_ENTITY_ID): cv.entity_ids,
|
||||
vol.Optional(ATTR_VARIABLES, default={}): dict,
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue