Date/Time
The Date/Time integration is built for the controlling and monitoring of timestamps on devices.
Building block integration
The date/time integration cannot be directly used. You cannot create your own datetime entities using this integration. This integration is a building block for other integrations to use, enabling them to create datetime entities for you.
If you are looking for a way to create a Date/Time entity, please take a look at the Date/Time helper.
Services
datetime services
Available services: datetime.set_value
Service 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 |
no | New datetime value to set. If timezone is not included, the Home Assistant instance’s timezone will be used. |