Add worldclock custom format (#13592)

This commit is contained in:
Indu Prakash 2020-06-25 13:42:06 -05:00 committed by GitHub
parent 2a0eb99bd5
commit 3f3308fc38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,11 @@ name:
required: false
type: string
default: Worldclock Sensor
time_format:
description: The time format.
required: false
type: string
default: "%H:%M"
{% 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.