Fix datetime docs (#27608)

This commit is contained in:
Raman Gupta 2023-05-31 15:53:48 -04:00 committed by GitHub
parent 4496ff6507
commit 560a8b9921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,5 @@ 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.
| `datetime` | no | New datetime value to set. If timezone is not included, the Home Assistant instance's timezone will be used.