hass-core/homeassistant/components/input_datetime/services.yaml
Alexei Chetroi 256056430e Add input_datetime reload service. (#29581)
* Add input_datetime reload service.

* Add reload service test.
2019-12-07 21:24:56 +01:00

14 lines
723 B
YAML

set_datetime:
description: This can be used to dynamically set the date and/or time.
fields:
entity_id: {description: Entity id of the input datetime to set the new value.,
example: input_datetime.test_date_time}
date: {description: The target date the entity should be set to. Do not use with datetime.,
example: '"date": "2019-04-22"'}
time: {description: The target time the entity should be set to. Do not use with datetime.,
example: '"time": "05:30:00"'}
datetime: {description: The target date & time the entity should be set to. Do not use with date or time.,
example: '"datetime": "2019-04-22 05:30:00"'}
reload:
description: Reload the input_datetime configuration.