2019-04-23 04:29:34 +00:00
|
|
|
set_datetime:
|
2020-08-26 09:28:30 +00:00
|
|
|
description: This can be used to dynamically set the date and/or time. Use date/time, datetime or timestamp.
|
2019-04-23 04:29:34 +00:00
|
|
|
fields:
|
2020-04-05 08:33:45 +00:00
|
|
|
entity_id:
|
|
|
|
description: Entity id of the input datetime to set the new value.
|
|
|
|
example: input_datetime.test_date_time
|
|
|
|
date:
|
2020-08-26 09:28:30 +00:00
|
|
|
description: The target date the entity should be set to.
|
2020-04-05 08:33:45 +00:00
|
|
|
example: '"2019-04-20"'
|
|
|
|
time:
|
2020-08-26 09:28:30 +00:00
|
|
|
description: The target time the entity should be set to.
|
2020-04-05 08:33:45 +00:00
|
|
|
example: '"05:04:20"'
|
|
|
|
datetime:
|
2020-08-26 09:28:30 +00:00
|
|
|
description: The target date & time the entity should be set to.
|
2020-04-05 08:33:45 +00:00
|
|
|
example: '"2019-04-20 05:04:20"'
|
2020-08-26 09:28:30 +00:00
|
|
|
timestamp:
|
|
|
|
description: The target date & time the entity should be set to as expressed by a UNIX timestamp.
|
|
|
|
example: 1598027400
|
2019-12-07 20:24:56 +00:00
|
|
|
|
|
|
|
reload:
|
|
|
|
description: Reload the input_datetime configuration.
|