63 if (fahrenheit_compatibility) {
constexpr void insert(ValueType value)
Add a single value to the set (std::set compatibility)
optional< ClimateFanMode > fan_mode
The active fan mode of the climate device.
climate::ClimateFanModeMask fan_modes_
ESPHOME_ALWAYS_INLINE void set_mode_supported_(climate::ClimateMode mode, bool supported)
float maximum_temperature_
ClimateIR(float minimum_temperature, float maximum_temperature, float temperature_step=1.0f, bool supports_dry=false, bool supports_fan_only=false, climate::ClimateFanModeMask fan_modes=climate::ClimateFanModeMask(), climate::ClimateSwingModeMask swing_modes=climate::ClimateSwingModeMask(), climate::ClimatePresetMask presets=climate::ClimatePresetMask())
void set_fahrenheit_compatibility(bool fahrenheit_compatibility)
void set_horizontal_default(HorizontalDirection horizontal_direction)
void set_supports_dry(bool supports_dry)
void transmit_state() override
bool on_receive(remote_base::RemoteReceiveData data) override
void set_vertical_vanes(uint8_t vertical_vanes)
void set_vertical_default(VerticalDirection vertical_direction)
void set_fan_mode(SetFanMode fan_mode)
VerticalDirection default_vertical_direction_
HorizontalDirection default_horizontal_direction_
bool fahrenheit_compatibility_
bool parse_state_frame_(const uint8_t frame[])
void set_supports_fan_only(bool supports_fan_only)
@ CLIMATE_PRESET_NONE
No preset is active.
@ CLIMATE_PRESET_BOOST
Device is in boost preset.
@ CLIMATE_PRESET_SLEEP
Device is prepared for sleep.
@ CLIMATE_PRESET_ECO
Device is running an energy-saving preset.
@ CLIMATE_SWING_OFF
The swing mode is set to Off.
@ CLIMATE_SWING_HORIZONTAL
The fan mode is set to Horizontal.
@ CLIMATE_SWING_VERTICAL
The fan mode is set to Vertical.
@ CLIMATE_SWING_BOTH
The fan mode is set to Both.
@ CLIMATE_MODE_DRY
The climate device is set to dry/humidity mode.
@ CLIMATE_MODE_FAN_ONLY
The climate device only has the fan enabled, no heating or cooling is taking place.
@ CLIMATE_FAN_MEDIUM
The fan mode is set to Medium.
@ CLIMATE_FAN_AUTO
The fan mode is set to Auto.
@ CLIMATE_FAN_LOW
The fan mode is set to Low.
@ CLIMATE_FAN_MIDDLE
The fan mode is set to Middle.
@ CLIMATE_FAN_QUIET
The fan mode is set to Quiet.
@ CLIMATE_FAN_HIGH
The fan mode is set to High.
@ HORIZONTAL_DIRECTION_RIGHT
@ HORIZONTAL_DIRECTION_MIDDLE
@ HORIZONTAL_DIRECTION_MIDDLE_RIGHT
@ HORIZONTAL_DIRECTION_MIDDLE_LEFT
@ HORIZONTAL_DIRECTION_SPLIT
@ HORIZONTAL_DIRECTION_LEFT
const uint8_t MITSUBISHI_TEMP_MAX
const uint8_t MITSUBISHI_TEMP_MIN
@ VERTICAL_DIRECTION_MIDDLE_DOWN
@ VERTICAL_DIRECTION_MIDDLE_UP
@ VERTICAL_DIRECTION_MIDDLE
@ VERTICAL_DIRECTION_AUTO
@ VERTICAL_DIRECTION_DOWN
constexpr float fahrenheit_to_celsius(float value)
Convert degrees Fahrenheit to degrees Celsius.