mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Allow target all timer services using 'entity_id: all' (#21008)
This commit is contained in:
parent
4d1d22070c
commit
f1a00cc0f9
@ -43,11 +43,11 @@ SERVICE_CANCEL = 'cancel'
|
||||
SERVICE_FINISH = 'finish'
|
||||
|
||||
SERVICE_SCHEMA = vol.Schema({
|
||||
vol.Optional(ATTR_ENTITY_ID): cv.entity_ids,
|
||||
vol.Optional(ATTR_ENTITY_ID): cv.comp_entity_ids,
|
||||
})
|
||||
|
||||
SERVICE_SCHEMA_DURATION = vol.Schema({
|
||||
vol.Optional(ATTR_ENTITY_ID): cv.entity_ids,
|
||||
vol.Optional(ATTR_ENTITY_ID): cv.comp_entity_ids,
|
||||
vol.Optional(ATTR_DURATION,
|
||||
default=timedelta(DEFAULT_DURATION)): cv.time_period,
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user