From 1e6c9cdabe2ae059d6deb40026f1d9a3d0b1278a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Aug 2016 13:51:05 +0200 Subject: [PATCH] Add IoT class --- source/_components/sensor.systemmonitor.markdown | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/source/_components/sensor.systemmonitor.markdown b/source/_components/sensor.systemmonitor.markdown index bfab57abd1d..c3aec6419d8 100644 --- a/source/_components/sensor.systemmonitor.markdown +++ b/source/_components/sensor.systemmonitor.markdown @@ -9,6 +9,7 @@ sharing: true footer: true ha_category: Sensor ha_release: pre 0.7 +ha_iot_class: "Local Push" --- The `systemmonitor` sensor platform to allow you to monitor disk usage, memory usage, CPU usage, and running processes. This platform has superseded the process component which is now considered deprecated. @@ -18,12 +19,12 @@ To add this platform to your installation, add the following to your `configurat ```yaml # Example configuration.yaml entry sensor: - platform: systemmonitor - resources: - - type: disk_use_percent - arg: /home - - type: memory_free - - type: processor_use + - platform: systemmonitor + resources: + - type: disk_use_percent + arg: /home + - type: memory_free + - type: processor_use ``` Configuration variables: @@ -34,7 +35,7 @@ Configuration variables: The table contains types and their argument to use in your `configuration.yaml` file. -| Type (`- type:`) | Argument (`arg:`) | +| Type (`type:`) | Argument (`arg:`) | | :------------------ |:-------------------------| | disk_use_percent | Path, eg. `/` | | disk_use | Path, eg. `/` |