Add time platform docs (#24987)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Raman Gupta 2023-04-30 16:34:50 -04:00 committed by GitHub
parent c58cf5349c
commit e83f659983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,31 @@
---
title: Time
description: Instructions on how to set up time entities within Home Assistant.
ha_category:
- Time
ha_release: '2022.12'
ha_domain: time
ha_quality_scale: internal
ha_codeowners:
- '@home-assistant/core'
ha_integration_type: entity
---
The Date integration is built for the controlling and monitoring of times on devices.
Time entities cannot be implemented manually, but can be provided by other integrations. If you are looking for a way to create a similar entity, please take a look at the [Date/Time helper](/integrations/input_datetime).
## Services
### time services
Available services: `time.set_value`
### Service `time.set_value`
Set a new value for the time entity.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of strings that point at `entity_id`'s of times to control.
| `time` | no | New time value to set.