mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 12:56:54 +00:00
Fix indent
This commit is contained in:
parent
5558d98567
commit
e9c3a855db
@ -64,9 +64,9 @@ If you don't like the wording of a sensor output then the template sensor can he
|
|||||||
sensor:
|
sensor:
|
||||||
platform: template
|
platform: template
|
||||||
sensors:
|
sensors:
|
||||||
sun_state:
|
sun_state:
|
||||||
value_template: {% raw %}"{% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}"{% endraw %}
|
value_template: {% raw %}"{% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}"{% endraw %}
|
||||||
friendly_name: 'Sun state'
|
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.
|
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user