Add IoT class

This commit is contained in:
Fabian Affolter 2016-08-13 13:51:05 +02:00
parent 7643076844
commit 1e6c9cdabe
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -9,6 +9,7 @@ sharing: true
footer: true footer: true
ha_category: Sensor ha_category: Sensor
ha_release: pre 0.7 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. 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 ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
sensor: sensor:
platform: systemmonitor - platform: systemmonitor
resources: resources:
- type: disk_use_percent - type: disk_use_percent
arg: /home arg: /home
- type: memory_free - type: memory_free
- type: processor_use - type: processor_use
``` ```
Configuration variables: Configuration variables:
@ -34,7 +35,7 @@ Configuration variables:
The table contains types and their argument to use in your `configuration.yaml` file. 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_percent | Path, eg. `/` |
| disk_use | Path, eg. `/` | | disk_use | Path, eg. `/` |