Fix temperature-related variable names (#1820)

This commit is contained in:
Eduardo Pérez 2022-01-21 03:49:09 +01:00 committed by GitHub
parent 09bedc0f14
commit 5dfbda8380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -41,9 +41,9 @@ to some pins on your board and the baud rate set to 4800 with 1 stop bit.
name: 'BL0940 Power' name: 'BL0940 Power'
energy: energy:
name: 'BL0940 Energy' name: 'BL0940 Energy'
temperature: internal_temperature:
name: 'BL0940 Internal temperature' name: 'BL0940 Internal temperature'
target_temperature: external_temperature:
name: 'BL0940 External temperature' name: 'BL0940 External temperature'
update_interval: 60s update_interval: 60s
@ -58,9 +58,9 @@ Configuration variables:
:ref:`Sensor <config-sensor>`. :ref:`Sensor <config-sensor>`.
- **energy** (*Optional*): Use the voltage value of the sensor in kWh. - **energy** (*Optional*): Use the voltage value of the sensor in kWh.
All options from :ref:`Sensor <config-sensor>`. All options from :ref:`Sensor <config-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 <config-sensor>`. All options from :ref:`Sensor <config-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 <config-sensor>`. All options from :ref:`Sensor <config-sensor>`.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the - **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
sensor. Defaults to ``60s``. sensor. Defaults to ``60s``.