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:
parent
ca52e23e4c
commit
e003f0baed
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
````
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue