mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Add example for multiple disks usage (#21095)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
494a76efaa
commit
cbfb567564
@ -90,6 +90,17 @@ tmpfs 934M 0 934M 0% /dev/shm
|
||||
|
||||
Defining a `disk_use` sensor for `/` and `/home/pi` is redundant and will return the same values, since they both belong to the same "disk". However, defining separate sensors for `/dev` and `/dev/shm` is possible and provides different values, since those are treated as separate "disks" by the integration.
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
- platform: systemmonitor
|
||||
resources:
|
||||
- type: disk_use
|
||||
arg: /dev
|
||||
- type: disk_use
|
||||
arg: /dev/shm
|
||||
```
|
||||
|
||||
## Processor temperature
|
||||
|
||||
- If no hardware sensor data is available (e.g., because the integration runs in a virtualized environment), the sensor entity will not be created.
|
||||
|
Loading…
x
Reference in New Issue
Block a user