From e9c3a855db06a4cf831ce06a76bfcc2c84c156e4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 17 Jul 2016 15:18:23 +0200 Subject: [PATCH] Fix indent --- source/_components/sensor.template.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_components/sensor.template.markdown b/source/_components/sensor.template.markdown index 945d627c30a..66710911f93 100644 --- a/source/_components/sensor.template.markdown +++ b/source/_components/sensor.template.markdown @@ -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.