From ee88433fb10fe7e8ea95ca08c6622de46a8b34fd Mon Sep 17 00:00:00 2001 From: VDRainer <26381449+VDRainer@users.noreply.github.com> Date: Tue, 23 Apr 2019 06:29:34 +0200 Subject: [PATCH] Create services.yaml for input_datetime (#23303) * Create services.yaml for input_datetime * HA error while parsing a flow mapping --- homeassistant/components/input_datetime/services.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 homeassistant/components/input_datetime/services.yaml diff --git a/homeassistant/components/input_datetime/services.yaml b/homeassistant/components/input_datetime/services.yaml new file mode 100644 index 00000000000..9534ad3f696 --- /dev/null +++ b/homeassistant/components/input_datetime/services.yaml @@ -0,0 +1,9 @@ +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., + example: '"date": "2019-04-22"'} + time: {description: The target time the entity should be set to., + example: '"time": "05:30:00"'}