From 3276f917879108959ea841eb4a49b75c7318dac1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 8 May 2015 17:49:42 +0200 Subject: [PATCH] add time_date sensor page --- source/components/sensor.time_date.markdown | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 source/components/sensor.time_date.markdown 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. + +

+ +

+