ESPHome  2023.11.6
mitsubishi.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include <cinttypes>
6 
7 namespace esphome {
8 namespace mitsubishi {
9 
10 // Temperature
11 const uint8_t MITSUBISHI_TEMP_MIN = 16; // Celsius
12 const uint8_t MITSUBISHI_TEMP_MAX = 31; // Celsius
13 
15  public:
16  MitsubishiClimate() : climate_ir::ClimateIR(MITSUBISHI_TEMP_MIN, MITSUBISHI_TEMP_MAX) {}
17 
18  protected:
20  void transmit_state() override;
21 };
22 
23 } // namespace mitsubishi
24 } // namespace esphome
void transmit_state() override
Transmit via IR the state of this climate controller.
Definition: mitsubishi.cpp:25
const uint8_t MITSUBISHI_TEMP_MAX
Definition: mitsubishi.h:12
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
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
const uint8_t MITSUBISHI_TEMP_MIN
Definition: mitsubishi.h:11