Fix indent

This commit is contained in:
Fabian Affolter 2016-07-17 15:18:23 +02:00
parent 5558d98567
commit e9c3a855db
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -64,9 +64,9 @@ If you don't like the wording of a sensor output then the template sensor can he
sensor:
platform: template
sensors:
sun_state:
value_template: {% raw %}"{% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}"{% endraw %}
friendly_name: 'Sun state'
sun_state:
value_template: {% raw %}"{% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}"{% endraw %}
friendly_name: 'Sun state'
```
Processes monitored by the [System Monitor sensor](/components/sensor.systemmonitor/) show `on` or `off` if they are running or not. This example shows how the output of a monitored `glances` process can be renamed.