From 02c6c8975b4c6a01f81b257313e9aabb74c1514a Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Wed, 9 Oct 2019 22:27:45 +0200 Subject: [PATCH] =?UTF-8?q?Hint=20that=20problems=20with=20=C2=B0-symbol?= =?UTF-8?q?=20is=20caused=20by=20configuration=20not=20saved=20as=20UTF-8?= =?UTF-8?q?=20(#10673)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update sensor.command_line.markdown * Update sensor.command_line.markdown --- source/_integrations/sensor.command_line.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/sensor.command_line.markdown b/source/_integrations/sensor.command_line.markdown index 77c98904a2f..670f5f2fb50 100644 --- a/source/_integrations/sensor.command_line.markdown +++ b/source/_integrations/sensor.command_line.markdown @@ -75,7 +75,7 @@ sensor: - platform: command_line name: HD Temperature command: "hddtemp -n /dev/sda" - # If errors occur, remove degree symbol below + # If errors occur, make sure configuration file is encoded as UTF-8 unit_of_measurement: "°C" ``` @@ -90,7 +90,7 @@ sensor: - platform: command_line name: CPU Temperature command: "cat /sys/class/thermal/thermal_zone0/temp" - # If errors occur, remove degree symbol below + # If errors occur, make sure configuration file is encoded as UTF-8 unit_of_measurement: "°C" value_template: '{{ value | multiply(0.001) | round(1) }}' ```