ESPHome  2024.12.2
tcl112.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace esphome {
6 namespace tcl112 {
7 
8 // Temperature
9 const float TCL112_TEMP_MAX = 31.0;
10 const float TCL112_TEMP_MIN = 16.0;
11 
13  public:
15  : climate_ir::ClimateIR(TCL112_TEMP_MIN, TCL112_TEMP_MAX, .5f, true, true,
19 
20  protected:
22  void transmit_state() override;
24  bool on_receive(remote_base::RemoteReceiveData data) override;
25 };
26 
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:26
The fan mode is set to Vertical.
Definition: climate_mode.h:76
The fan mode is set to High.
Definition: climate_mode.h:58
The swing mode is set to Off.
Definition: climate_mode.h:72
const float TCL112_TEMP_MAX
Definition: tcl112.h:9
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
The fan mode is set to Medium.
Definition: climate_mode.h:56