optional< ClimateFanMode > fan_mode
The active fan mode of the climate device.
This class contains all static data for climate devices.
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={})
climate::ClimateTraits traits() override
void set_supports_cool(bool supports_cool)
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_default(VerticalDirection vertical_direction)
void set_fan_mode(SetFanMode fan_mode)
VerticalDirection default_vertical_direction_
HorizontalDirection default_horizontal_direction_
bool parse_state_frame_(const uint8_t frame[])
void set_supports_heat(bool supports_heat)
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_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.
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
@ HORIZONTAL_DIRECTION_RIGHT
@ HORIZONTAL_DIRECTION_MIDDLE
@ HORIZONTAL_DIRECTION_MIDDLE_RIGHT
@ HORIZONTAL_DIRECTION_MIDDLE_LEFT
@ HORIZONTAL_DIRECTION_SPLIT
@ HORIZONTAL_DIRECTION_LEFT
Providing packet encoding functions for exchanging data with a remote host.