Time & Date Support


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

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

The types date_time and time_date shows the date and the time. The other two types just the time or the date.