From 5dfbda8380b69822f55629774bce27006f722e23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20P=C3=A9rez?= Date: Fri, 21 Jan 2022 03:49:09 +0100 Subject: [PATCH] Fix temperature-related variable names (#1820) --- components/sensor/bl0940.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/sensor/bl0940.rst b/components/sensor/bl0940.rst index 38c60f761..9ee4eed3d 100644 --- a/components/sensor/bl0940.rst +++ b/components/sensor/bl0940.rst @@ -41,9 +41,9 @@ to some pins on your board and the baud rate set to 4800 with 1 stop bit. name: 'BL0940 Power' energy: name: 'BL0940 Energy' - temperature: + internal_temperature: name: 'BL0940 Internal temperature' - target_temperature: + external_temperature: name: 'BL0940 External temperature' update_interval: 60s @@ -58,9 +58,9 @@ Configuration variables: :ref:`Sensor `. - **energy** (*Optional*): Use the voltage value of the sensor in kWh. All options from :ref:`Sensor `. -- **temperature** (*Optional*): The internal temperature value of the sensor in °C. +- **internal_temperature** (*Optional*): The internal temperature value of the sensor in °C. All options from :ref:`Sensor `. -- **target_temperature** (*Optional*): The external value of the sensor in °C. Often not connected and gives garbage data. +- **external_temperature** (*Optional*): The external value of the sensor in °C. Often not connected and gives garbage data. All options from :ref:`Sensor `. - **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.