From 6e9cb0430fbd4f8551fd97741e21bd21a1b36e92 Mon Sep 17 00:00:00 2001 From: Tom Brien Date: Thu, 14 Jan 2021 11:55:16 +0000 Subject: [PATCH] Remove command line sensor hddtemp example (#16180) --- .../sensor.command_line.markdown | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/source/_integrations/sensor.command_line.markdown b/source/_integrations/sensor.command_line.markdown index 9340514a380..6629495ca39 100644 --- a/source/_integrations/sensor.command_line.markdown +++ b/source/_integrations/sensor.command_line.markdown @@ -60,26 +60,6 @@ json_attributes: In this section you find some real-life examples of how to use this sensor. -### Hard drive temperature - -There are several ways to get the temperature of your hard drive. A simple solution is to use [hddtemp](https://savannah.nongnu.org/projects/hddtemp/). - -```bash -hddtemp -n /dev/sda -``` - -To use this information, the entry for a command-line sensor in the `configuration.yaml` file will look like this. - -```yaml -# Example configuration.yaml entry -sensor: - - platform: command_line - name: HD Temperature - command: "hddtemp -n /dev/sda" - # If errors occur, make sure configuration file is encoded as UTF-8 - unit_of_measurement: "°C" -``` - ### CPU temperature Thanks to the [`proc`](https://en.wikipedia.org/wiki/Procfs) file system, various details about a system can be retrieved. Here the CPU temperature is of interest. Add something similar to your `configuration.yaml` file: