ESPHome  2022.6.2
mitsubishi.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace esphome {
6 namespace mitsubishi {
7 
8 // Temperature
9 const uint8_t MITSUBISHI_TEMP_MIN = 16; // Celsius
10 const uint8_t MITSUBISHI_TEMP_MAX = 31; // Celsius
11 
13  public:
14  MitsubishiClimate() : climate_ir::ClimateIR(MITSUBISHI_TEMP_MIN, MITSUBISHI_TEMP_MAX) {}
15 
16  protected:
18  void transmit_state() override;
19 };
20 
21 } // namespace mitsubishi
22 } // 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:10
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
Definition: a4988.cpp:4
const uint8_t MITSUBISHI_TEMP_MIN
Definition: mitsubishi.h:9