Time
The Time integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] is built for controlling and monitoring times on devices.
Building block integration
This time is a building block integration that cannot be added to your Home Assistant directly but is used and provided by other integrations.
A building block integration differs from the typical integration that connects to a device or service. Instead, other integrations that do integrate a device or service into Home Assistant use this time building block to provide entities, services, and other functionality that you can use in your automations or dashboards.
If one of your integrations features this building block, this page documents the functionality the time building block offers.
If you are looking for a way to create a similar entity, please take a look at the Date/Time helper.
Time states
The stateThe state holds the information of interest of an entity, for example, if a light is on or off. Each entity has exactly one state and the state only holds one value at a time. However, entities can store attributes related to that state such as brightness, color, or a unit of measurement. [Learn more] of a time entityAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more] is a time, stored in the format HH:MM:SS, for example, 07:30:00. If the time includes fractions of a second, they follow the seconds, for example, 07:30:00.500000. The Home Assistant interface shows the time in your local time format.
In addition, the entity can have the following states. Each item shows the interface label, followed by the stored state:
-
Unavailable (
unavailable): The entity is currently unavailable. -
Unknown (
unknown): The state is not yet known.
List of actions
The Time integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides the following actions. Each link below opens a dedicated page with examples, parameters, and a step-by-step UI walkthrough.
-
Set time value (
time.set_value) Sets the value of a time entity.
For an overview of every action across all integrations, see the actions reference.