mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add timezone detail (#17978)
This commit is contained in:
parent
1bc701f990
commit
c73a6332a3
@ -13,7 +13,8 @@ ha_platforms:
|
|||||||
- sensor
|
- sensor
|
||||||
---
|
---
|
||||||
|
|
||||||
The time and date (`time_date`) sensor platform adds one or more sensors to your Home Assistant state machine.
|
The time and date (`time_date`) integration allows one to show the current date or time in different formats. All values are based on the timezone which is set in "General Configuration".
|
||||||
|
|
||||||
To have these sensors available in your installation, add the following to your `configuration.yaml` file (each option creates a separate sensor that contains appropriate data, e.g., `sensor.date` for the `date` option):
|
To have these sensors available in your installation, add the following to your `configuration.yaml` file (each option creates a separate sensor that contains appropriate data, e.g., `sensor.date` for the `date` option):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user