mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-11-07 18:18:47 +00:00
* States: add unavailable and unknown
* rephrase intro
* Make states lowercase
* Update source/_integrations/humidifier.markdown
Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
* Revert "Make states lowercase"
This reverts commit daf7f06630.
* Apply bold to the UI string of state names
* Climate: fix grammar
---------
Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
1.6 KiB
1.6 KiB
title, description, ha_category, ha_release, ha_domain, ha_quality_scale, ha_codeowners, ha_integration_type
| title | description | ha_category | ha_release | ha_domain | ha_quality_scale | ha_codeowners | ha_integration_type | ||
|---|---|---|---|---|---|---|---|---|---|
| Time | Instructions on how to set up time entities within Home Assistant. |
|
2022.12 | time | internal |
|
entity |
The Time {% term integration %} is built for controlling and monitoring times on devices.
{% include integrations/building_block_integration.md %}
If you are looking for a way to create a similar entity, please take a look at the Date/Time helper.
The state of a time entity
The state of a time {% term entity %} is a timestamp in the format HH:MM:SS.
Screenshot showing the state of a time entity in the developer tools.
In addition, the entity can have the following states:
- Unavailable: The entity is currently unavailable.
- Unknown: The state is not yet known.
Actions
Time actions
Available actions: time.set_value
Action time.set_value
Set a new value for the time entity.
| 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. |