From 42846163ba45fd10eb8f887bbd2b41b07bf70b97 Mon Sep 17 00:00:00 2001 From: cgtobi Date: Sat, 21 Oct 2017 18:48:22 +0200 Subject: [PATCH] Add support for multiple disks. (#3678) * Add support for multiple disks. * Make disks optional. --- source/_components/sensor.hddtemp.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/_components/sensor.hddtemp.markdown b/source/_components/sensor.hddtemp.markdown index 8827856b46c..73c84fd8a19 100644 --- a/source/_components/sensor.hddtemp.markdown +++ b/source/_components/sensor.hddtemp.markdown @@ -26,6 +26,8 @@ To setup a HDDTemp to your installation, add the following to your `configuratio # Example configuration.yaml entry sensor: - platform: hddtemp + disks: + - /dev/sda1 ``` Configuration variables: @@ -33,4 +35,5 @@ Configuration variables: - **name** (*Optional*): Friendly name to use for the frontend. Default to "HD Temperature". - **host** (*Optional*): Host where `hddtemp` is running. Default to `localhost`. - **port** (*Optional*): Port that is used by `hddtemp` . Default to `7634`. +- **disks** (*Optional*): Disk to be monitored. Example: `/dev/sda1`