1
mirror of https://github.com/home-assistant/core synced 2024-07-30 21:18:57 +02:00
ha-core/homeassistant/components/input_datetime/services.yaml
tkdrob 028a07d86f
Wrap up selectors (#50794)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00

40 lines
979 B
YAML

set_datetime:
name: Set
description: This can be used to dynamically set the date and/or time.
target:
entity:
domain: input_datetime
fields:
date:
name: Date
description: The target date the entity should be set to.
example: '"2019-04-20"'
selector:
text:
time:
name: Time
description: The target time the entity should be set to.
example: '"05:04:20"'
selector:
time:
datetime:
name: Date & Time
description: The target date & time the entity should be set to.
example: '"2019-04-20 05:04:20"'
selector:
text:
timestamp:
name: Timestamp
description:
The target date & time the entity should be set to as expressed by a
UNIX timestamp.
selector:
number:
min: 0
max: 9223372036854775807
mode: box
reload:
name: Reload
description: Reload the input_datetime configuration.