Worldclock Support
The worldclock platform simple displays the current time in a different time zone
To enable this sensor in your installation, add the following to your configuration.yaml
file:
1 2 3 4 5 |
|
Configuration variables:
- time_zone (Required): The resource or endpoint that contains the value.
- name (Optional): The name of the sensor, eg. the city.
For valid time zones check the TZ column in the Wikipedia overview. Or get the full list from the pytz module.
1
|
|