Clarification for a moron ;) (#3797)

* Clarification for a moron ;)

Often it helps to see the syntax for configuration variables...

* This --->

Something like this instead...
This commit is contained in:
arretx 2017-10-27 01:14:08 -07:00 committed by Fabian Affolter
parent ca52e23e4c
commit e003f0baed

View File

@ -28,3 +28,11 @@ Configuration variables:
- **name** (*Optional*): Name of the sensor. Defaults to `Uptime`.
- **unit_of_measurement** (*Optional*): Units for uptime measurement in either `days` or `hours`. Defaults to `days`.
```yaml
# Example with configuration variables
sensor:
- platform: uptime
name: Time Online
unit_of_measurement: hours
````