akasma74 0be2778d7b clarify options' use (#11189)
* clarify options' use

The current description looks outdated to me because:
1. In Lovelace the time/date is not displayed when we open default_view
2. If only - 'time' specified, no `sensor.date` or anything else exists (and it's not clear as the configuration variable name is `display_options` (maybe now it's better to make it deprecated and change to `options` or something)?

* Update source/_integrations/time_date.markdown

typo

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* resolving #1
2019-11-28 12:11:43 +01:00

1.1 KiB

title, description, logo, ha_category, ha_iot_class, ha_release, ha_qa_scale
title description logo ha_category ha_iot_class ha_release ha_qa_scale
Time & Date Instructions on how to integrate the time and the date within Home Assistant. home-assistant.png
Calendar
Local Push pre 0.7 internal

The time and date (time_date) sensor platform adds one or more sensors to your Home Assistant state machine. To have these sensors available in your installation, add the following to your configuration.yaml file (each option creates a separate sensor that contains appropriate data):

# Example configuration.yaml entry
sensor:
  - platform: time_date
    display_options:
      - 'time'
      - 'date'
      - 'date_time'
      - 'date_time_iso'
      - 'time_date'
      - 'time_utc'
      - 'beat'
  • display_options array (Required): The option to display. The types date_time, time_date, and date_time_iso shows the date and the time. The other types just the time or the date. beat shows the Swatch Internet Time.