diff --git a/source/components/sensor.time_date.markdown b/source/components/sensor.time_date.markdown new file mode 100644 index 00000000000..29abbc9987d --- /dev/null +++ b/source/components/sensor.time_date.markdown @@ -0,0 +1,29 @@ +--- +layout: page +title: "Time & Date support" +description: "Instructions how to integrate the time and the date within Home Assistant." +date: 2015-05-08 17:15 +sidebar: false +comments: false +sharing: true +footer: true +--- + +The time and date platform simple displays the time, the date, or both. + +```yaml +# Example configuration.yaml entry +sensor: + platform: time_date + monitored_variables: + - type: 'time' + - type: 'date' + - type: 'datetime' +``` + +The type *datetime* shows the date and the time. The other two types just the time or the date. + +
+
+