mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add worldclock custom format (#13592)
This commit is contained in:
parent
2a0eb99bd5
commit
3f3308fc38
@ -34,6 +34,11 @@ name:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: Worldclock Sensor
|
default: Worldclock Sensor
|
||||||
|
time_format:
|
||||||
|
description: The time format.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: "%H:%M"
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
For valid time zones check the **TZ** column in the [Wikipedia overview](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Or get the full list from the [pytz](https://pypi.python.org/pypi/pytz) module.
|
For valid time zones check the **TZ** column in the [Wikipedia overview](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Or get the full list from the [pytz](https://pypi.python.org/pypi/pytz) module.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user