mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
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
@ -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…
x
Reference in New Issue
Block a user