Merge pull request #9 from fabaff/time-date

Time date page
This commit is contained in:
Paulus Schoutsen 2015-05-08 13:53:13 -07:00
commit 6401a93905
3 changed files with 36 additions and 0 deletions

View File

@ -209,6 +209,12 @@ the manufacturers of these devices.
<td><a href='/components/sensor.openweathermap.html'>OpenWeatherMap</a></td>
<td>Display current meteorological data from your location</td>
</tr>
<tr>
<td></td>
<td><a href='/components/time_date.html'>Time & Date</a></td>
<td>Displays the time and the date.</td>
</tr>
</table>
<p class='note'>

View File

@ -0,0 +1,30 @@
---
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: '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.
<p class='img'>
<img src='{{site_root}}/images/screenshots/time_date.png' />
</p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB