mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 18:06:54 +00:00
Fix datetime docs (#27608)
This commit is contained in:
parent
9f95073041
commit
8b877dcfdb
@ -3,11 +3,11 @@ title: Date/Time
|
||||
description: Instructions on how to set up date/time entities within Home Assistant.
|
||||
ha_category:
|
||||
- Date/Time
|
||||
ha_release: '2023.6'
|
||||
ha_release: "2023.6"
|
||||
ha_domain: datetime
|
||||
ha_quality_scale: internal
|
||||
ha_codeowners:
|
||||
- '@home-assistant/core'
|
||||
- "@home-assistant/core"
|
||||
ha_integration_type: entity
|
||||
---
|
||||
|
||||
@ -26,10 +26,6 @@ Available services: `datetime.set_value`
|
||||
Set a new value for the datetime entity.
|
||||
|
||||
| Service data attribute | Optional | Description |
|
||||
| ---------------------- | -------- | ----------- |
|
||||
| `entity_id` | no | String or list of strings that point at `entity_id`'s of datetimes to control.
|
||||
| `datetime` | yes | New datetime value to set. Cannot be combined with `timestamp`, `date`, or `time`.
|
||||
| `timestamp` | yes | New datetime value to set. Cannot be combined with `datetime`, `date`, or `time`.
|
||||
| `date` | yes | New date value to set. Cannot be combined with `datetime` or `timestamp`. If `time` is not specified, the existing time of the entity will be used.
|
||||
| `time` | yes | New date value to set. Cannot be combined with `datetime` or `timestamp`. If `date` is not specified, the existing date of the entity will be used.
|
||||
| `time_zone` | yes | Time zone of the `datetime` to set. If not provided, the time zone will be set to the time zone of the Home Assistant instance.
|
||||
| ---------------------- | -------- | ------------------------------------------------------------------------------------------------------------ |
|
||||
| `entity_id` | no | String or list of strings that point at `entity_id`'s of datetimes to control. |
|
||||
| `datetime` | no | New datetime value to set. If timezone is not included, the Home Assistant instance's timezone will be used. |
|
||||
|
Loading…
x
Reference in New Issue
Block a user