ESPHome  2022.6.2
Go to the documentation of this file.
1 #pragma once
5 namespace esphome {
6 namespace tcl112 {
8 // Temperature
9 const float TCL112_TEMP_MAX = 31.0;
10 const float TCL112_TEMP_MIN = 16.0;
13  public:
15  : climate_ir::ClimateIR(TCL112_TEMP_MIN, TCL112_TEMP_MAX, .5f, true, true,
20  protected:
22  void transmit_state() override;
24  bool on_receive(remote_base::RemoteReceiveData data) override;
25 };
27 } // namespace tcl112
28 } // namespace esphome
The fan mode is set to Low.
Definition: climate_mode.h:54
const float TCL112_TEMP_MIN
Definition: tcl112.h:10
bool on_receive(remote_base::RemoteReceiveData data) override
Handle received IR Buffer.
Definition: tcl112.cpp:146
void transmit_state() override
Transmit via IR the state of this climate controller.
Definition: tcl112.cpp:35
The fan mode is set to Auto.
Definition: climate_mode.h:52
ClimateIR(float minimum_temperature, float maximum_temperature, float temperature_step=1.0f, bool supports_dry=false, bool supports_fan_only=false, std::set< climate::ClimateFanMode > fan_modes={}, std::set< climate::ClimateSwingMode > swing_modes={}, std::set< climate::ClimatePreset > presets={})
Definition: climate_ir.h:23
The fan mode is set to Vertical.
Definition: climate_mode.h:74
The fan mode is set to High.
Definition: climate_mode.h:58
The swing mode is set to Off.
Definition: climate_mode.h:70
const float TCL112_TEMP_MAX
Definition: tcl112.h:9
Definition: a4988.cpp:4
The fan mode is set to Medium.
Definition: climate_mode.h:56