Adds Tuya Climate temperature multiplier (#756)

* Add tuya climate temperature-multiplier

* Fix page link
This commit is contained in:
Jesse Hills 2020-09-15 10:33:20 +12:00 committed by GitHub
parent f04db36ac7
commit 74829dcc38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,8 +48,17 @@ Configuration variables:
- **switch_datapoint** (**Required**, int): The datapoint id number of the climate switch.
- **target_temperature_datapoint** (**Required**, int): The datapoint id number of the target temperature.
- **current_temperature_datapoint** (**Required**, int): The datapoint id number of the current temperature.
- **temperature_multiplier** (**Optional**, float): A multiplier to modify the incoming and outgoing temperature values - :ref:`see below <temperature-multiplier>`.
- All other options from :ref:`Climate <config-climate>`.
.. _temperature-multiplier:
Temperature multiplier
----------------------
Some Tuya climate devices report the temperature with a multiplied factor. This is because the MCU only utlizes
integers for data reporting and to get a .5 temperature you need to divide by 2 on the ESPHome side.
See Also
--------