Add datetime option to input_datetime.set_datetime service (#24975)

This commit is contained in:
Phil Bruckner authored and Paulus Schoutsen committed 2019-07-08 13:18:42 -07:00
1 parent b11171aaeb
commit 1431fd6fbd
3 files changed
+103 -27

No files matched your search

@@ -3,7 +3,9 @@ set_datetime:
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.,
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.,
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"'}