9static constexpr uint8_t GREE_TEMP_MIN = 16;
10static constexpr uint8_t GREE_TEMP_MAX = 30;
13static constexpr uint8_t GREE_MODE_AUTO = 0x00;
14static constexpr uint8_t GREE_MODE_COOL = 0x01;
15static constexpr uint8_t GREE_MODE_HEAT = 0x04;
16static constexpr uint8_t GREE_MODE_DRY = 0x02;
17static constexpr uint8_t GREE_MODE_FAN = 0x03;
19static constexpr uint8_t GREE_MODE_OFF = 0x00;
20static constexpr uint8_t GREE_MODE_ON = 0x08;
23static constexpr uint8_t GREE_FAN_AUTO = 0x00;
24static constexpr uint8_t GREE_FAN_1 = 0x10;
25static constexpr uint8_t GREE_FAN_2 = 0x20;
26static constexpr uint8_t GREE_FAN_3 = 0x30;
29static constexpr uint32_t GREE_IR_FREQUENCY = 38000;
30static constexpr uint32_t GREE_HEADER_MARK = 9000;
31static constexpr uint32_t GREE_HEADER_SPACE = 4000;
32static constexpr uint32_t GREE_BIT_MARK = 620;
33static constexpr uint32_t GREE_ONE_SPACE = 1600;
34static constexpr uint32_t GREE_ZERO_SPACE = 540;
35static constexpr uint32_t GREE_MESSAGE_SPACE = 19000;
38static constexpr uint32_t GREE_YAC_HEADER_MARK = 6000;
39static constexpr uint32_t GREE_YAC_HEADER_SPACE = 3000;
40static constexpr uint32_t GREE_YAC_BIT_MARK = 650;
43static constexpr uint32_t GREE_YAC1FB9_HEADER_SPACE = 4500;
44static constexpr uint32_t GREE_YAC1FB9_MESSAGE_SPACE = 19980;
47static constexpr uint8_t GREE_STATE_FRAME_SIZE = 8;
51static constexpr uint8_t GREE_VDIR_AUTO = 0x00;
52static constexpr uint8_t GREE_VDIR_MANUAL = 0x00;
53static constexpr uint8_t GREE_VDIR_SWING = 0x01;
54static constexpr uint8_t GREE_VDIR_UP = 0x02;
55static constexpr uint8_t GREE_VDIR_MUP = 0x03;
56static constexpr uint8_t GREE_VDIR_MIDDLE = 0x04;
57static constexpr uint8_t GREE_VDIR_MDOWN = 0x05;
58static constexpr uint8_t GREE_VDIR_DOWN = 0x06;
62static constexpr uint8_t GREE_HDIR_AUTO = 0x00;
63static constexpr uint8_t GREE_HDIR_MANUAL = 0x00;
64static constexpr uint8_t GREE_HDIR_SWING = 0x01;
65static constexpr uint8_t GREE_HDIR_LEFT = 0x02;
66static constexpr uint8_t GREE_HDIR_MLEFT = 0x03;
67static constexpr uint8_t GREE_HDIR_MIDDLE = 0x04;
68static constexpr uint8_t GREE_HDIR_MRIGHT = 0x05;
69static constexpr uint8_t GREE_HDIR_RIGHT = 0x06;
73static constexpr uint8_t GREE_FAN_TURBO = 0x80;
74static constexpr uint8_t GREE_FAN_TURBO_BIT = 0x10;
75static constexpr uint8_t GREE_PRESET_NONE = 0x00;
76static constexpr uint8_t GREE_PRESET_SLEEP = 0x01;
77static constexpr uint8_t GREE_PRESET_SLEEP_BIT = 0x80;
85 : climate_ir::
ClimateIR(GREE_TEMP_MIN, GREE_TEMP_MAX, 1.0f, true, true,
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())
uint8_t operation_mode_()
void set_mode_bit(uint8_t bit_mask, bool enabled)
void set_model(Model model)
uint8_t horizontal_swing_()
uint8_t vertical_swing_()
void transmit_state() override
@ 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_HIGH
The fan mode is set to High.