Time & Date Support


The time and date platform simple displays the time in various formats, the date, or both.

1
2
3
4
5
6
7
8
9
10
# Example configuration.yaml entry
sensor:
  platform: time_date
  display_options:
    - type: 'time'
    - type: 'date'
    - type: 'date_time'
    - type: 'time_date'
    - type: 'time_utc'
    - type: 'beat'

The types date_time and time_date shows the date and the time. The other types just the time or the date. beat shows the Swatch Internet Time.