Add separate current/target Tuya Climate multipliers (#828)

* Add separate current/target Tuya Climate multipliers

* Leave existing tuya climate temperature_multiplier doc

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

* Moved current/target Tuya temp multiplier under the temperature_multiplier option

* Update components/climate/tuya.rst

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Yaroslav 2020-11-11 19:31:46 +02:00 committed by GitHub
parent 96e874d86f
commit 10f05d7c8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,10 @@ Configuration variables:
- **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>`.
If the device has different multipliers for current and target temperatures, **temperature_multiplier** can be replaced with both of:
- **current_temperature_multiplier** (**Optional**, float): A multiplier to modify the current temperature value.
- **target_temperature_multiplier** (**Optional**, float): A multiplier to modify the target temperature value.
- All other options from :ref:`Climate <config-climate>`.
.. _temperature-multiplier: