-**heating_value** (*Optional*, int): The active state datapoint value when in heating mode. Defaults to ``1`` - :ref:`see below <active_state_detection>`.
-**cooling_value** (*Optional*, int): The active state datapoint value when in cooling mode - :ref:`see below <active_state_detection>`.
-**drying_value** (*Optional*, int): The active state datapoint value when in drying mode.
-**fanonly_value** (*Optional*, int): The active state datapoint value when in fan-only mode.
-**preset** (*Optional*): Configuration for presets.
-**eco** (*Optional*): Configuration for Eco preset.
-**datapoint** (**Required**, int): The datapoint id number of the Eco action.
-**temperature** (*Optional*, int): Temperature setpoint for Eco preset.
-**sleep** (*Optional*): Configuration for Sleep preset
-**datapoint** (**Required**, int): The Datapoint id number of the Sleep Action
-**swing_mode** (*Optional*): Configuration for the swing (oscillation) modes.
-**vertical_datapoint** (*Optional*, int): The datapoint id number of the vertical swing action.
-**horizontal_datapoint** (*Optional*, int): The datapoint id number of the horizontal swing action.
-**fan_mode** (*Optional*): Configuration for fan modes/fan speeds.
-**datapoint** (**Required**, int): The datapoint id number of the Fan value state.
-**auto_value** (*Optional*, int): The datapoint value the device reports when the fan is on ``auto`` speed.
-**low_value** (*Optional*, int): The datapoint value the device reports when the fan is on ``low`` speed.
-**medium_value** (*Optional*, int): The datapoint value the device reports when the fan is on ``medium`` speed.
-**middle_value** (*Optional*, int): The datapoint value the device reports when the fan is on ``middle`` speed. (May set to device's ``high`` value if you have a ``Turbo`` option).
-**high_value** (*Optional*, int): The datapoint value the device reports when the fan is on ``high`` speed. (Sometimes called ``Turbo``).
-**heating_state_pin** (*Optional*, :ref:`config-pin`): The input pin indicating that the device is heating - :ref:`see below <active_state_detection>`. Only used if **active_state_datapoint** is not configured.
-**cooling_state_pin** (*Optional*, :ref:`config-pin`): The input pin indicating that the device is cooling - :ref:`see below <active_state_detection>`. Only used if **active_state_datapoint** is not configured.
-**temperature_multiplier** (*Optional*, float): A multiplier to modify the incoming and outgoing temperature values - :ref:`see below <temperature-multiplier>`.
-**reports_fahrenheit** (*Optional*, boolean): Set to ``true`` if the device reports temperatures in Fahrenheit. ESPHome expects all climate temperatures to be in Celcius, otherwise unexpected conversions will take place when it is published to Home Assistant. Defaults to ``false``.
Some Tuya climate devices don't have a data point for setting and reporting HVAC mode, they use a data point to report their active state (current action). In this case, you can just use the **active_state** configuration.
If your device uses a data point for HVAC mode, but not for reporting the active state, it is possible to modify the hardware so that the relay outputs can be read by the ESP. Please refer to `this discussion <https://github.com/klausahrenberg/WThermostatBeca/issues/17>`__ for more details on the required modifications. You can then use the **heating_state_pin** and/or **cooling_state_pin** configuration variables to detect the current state.