mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Tuya climate component: Add documentation for eco mode (#1216)
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
parent
3438b7f47e
commit
77e920cb71
@ -27,7 +27,7 @@ On this controller, the data points are:
|
|||||||
- 3 represents the target temperature.
|
- 3 represents the target temperature.
|
||||||
- 4 represents the current temperature.
|
- 4 represents the current temperature.
|
||||||
- 5 represents the timer but is not yet available to be used in ESPHome.
|
- 5 represents the timer but is not yet available to be used in ESPHome.
|
||||||
- 7 represents the eco mode switch. (use the :doc:`/components/switch/tuya` component to control this)
|
- 7 represents the eco mode switch.
|
||||||
|
|
||||||
Based on this, you can create the climate device as follows:
|
Based on this, you can create the climate device as follows:
|
||||||
|
|
||||||
@ -39,6 +39,8 @@ Based on this, you can create the climate device as follows:
|
|||||||
switch_datapoint: 1
|
switch_datapoint: 1
|
||||||
target_temperature_datapoint: 3
|
target_temperature_datapoint: 3
|
||||||
current_temperature_datapoint: 4
|
current_temperature_datapoint: 4
|
||||||
|
eco_datapoint: 7
|
||||||
|
eco_temperature: 20 °C
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
------------------------
|
------------------------
|
||||||
@ -56,6 +58,8 @@ Configuration variables:
|
|||||||
- **target_temperature_datapoint** (**Required**, int): The datapoint id number of the target temperature.
|
- **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.
|
- **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>`.
|
- **temperature_multiplier** (*Optional*, float): A multiplier to modify the incoming and outgoing temperature values - :ref:`see below <temperature-multiplier>`.
|
||||||
|
- **eco_datapoint** (*Optional*, int): The datapoint id number of the eco mode state.
|
||||||
|
- **eco_temperature** (*Optional*, float): The target temperature the controller uses while the eco mode is active.
|
||||||
|
|
||||||
If the device has different multipliers for current and target temperatures, **temperature_multiplier** can be replaced with both of:
|
If the device has different multipliers for current and target temperatures, **temperature_multiplier** can be replaced with both of:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user