Fix example for set_datetime service (#31159)

pull/31273/head
Thomas 2020-01-29 12:09:19 +01:00 committed by GitHub
parent 9ff9614d0b
commit 56c235d4f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -4,11 +4,11 @@ set_datetime:
entity_id: {description: Entity id of the input datetime to set the new value., entity_id: {description: Entity id of the input datetime to set the new value.,
example: input_datetime.test_date_time} example: input_datetime.test_date_time}
date: {description: The target date the entity should be set to. Do not use with datetime., date: {description: The target date the entity should be set to. Do not use with datetime.,
example: '"date": "2019-04-22"'} example: '"2019-04-20"'}
time: {description: The target time the entity should be set to. Do not use with datetime., time: {description: The target time the entity should be set to. Do not use with datetime.,
example: '"time": "05:30:00"'} example: '"05:04:20"'}
datetime: {description: The target date & time the entity should be set to. Do not use with date or time., 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"'} example: '"2019-04-20 05:04:20"'}
reload: reload:
description: Reload the input_datetime configuration. description: Reload the input_datetime configuration.