ESPHome  2024.11.3
Data Structures | Variables
esphome::climate_ir_lg Namespace Reference

Data Structures

class  LgIrClimate
 

Variables

const uint32_t COMMAND_MASK = 0xFF000
 
const uint32_t COMMAND_OFF = 0xC0000
 
const uint32_t COMMAND_SWING = 0x10000
 
const uint32_t COMMAND_ON_COOL = 0x00000
 
const uint32_t COMMAND_ON_DRY = 0x01000
 
const uint32_t COMMAND_ON_FAN_ONLY = 0x02000
 
const uint32_t COMMAND_ON_AI = 0x03000
 
const uint32_t COMMAND_ON_HEAT = 0x04000
 
const uint32_t COMMAND_COOL = 0x08000
 
const uint32_t COMMAND_DRY = 0x09000
 
const uint32_t COMMAND_FAN_ONLY = 0x0A000
 
const uint32_t COMMAND_AI = 0x0B000
 
const uint32_t COMMAND_HEAT = 0x0C000
 
const uint32_t FAN_MASK = 0xF0
 
const uint32_t FAN_AUTO = 0x50
 
const uint32_t FAN_MIN = 0x00
 
const uint32_t FAN_MED = 0x20
 
const uint32_t FAN_MAX = 0x40
 
const uint8_t TEMP_RANGE = TEMP_MAX - TEMP_MIN + 1
 
const uint32_t TEMP_MASK = 0XF00
 
const uint32_t TEMP_SHIFT = 8
 
const uint16_t BITS = 28
 
const uint8_t TEMP_MIN = 18
 
const uint8_t TEMP_MAX = 30
 

Variable Documentation

◆ BITS

const uint16_t esphome::climate_ir_lg::BITS = 28

Definition at line 38 of file climate_ir_lg.cpp.

◆ COMMAND_AI

const uint32_t esphome::climate_ir_lg::COMMAND_AI = 0x0B000

Definition at line 23 of file climate_ir_lg.cpp.

◆ COMMAND_COOL

const uint32_t esphome::climate_ir_lg::COMMAND_COOL = 0x08000

Definition at line 20 of file climate_ir_lg.cpp.

◆ COMMAND_DRY

const uint32_t esphome::climate_ir_lg::COMMAND_DRY = 0x09000

Definition at line 21 of file climate_ir_lg.cpp.

◆ COMMAND_FAN_ONLY

const uint32_t esphome::climate_ir_lg::COMMAND_FAN_ONLY = 0x0A000

Definition at line 22 of file climate_ir_lg.cpp.

◆ COMMAND_HEAT

const uint32_t esphome::climate_ir_lg::COMMAND_HEAT = 0x0C000

Definition at line 24 of file climate_ir_lg.cpp.

◆ COMMAND_MASK

const uint32_t esphome::climate_ir_lg::COMMAND_MASK = 0xFF000

Definition at line 10 of file climate_ir_lg.cpp.

◆ COMMAND_OFF

const uint32_t esphome::climate_ir_lg::COMMAND_OFF = 0xC0000

Definition at line 11 of file climate_ir_lg.cpp.

◆ COMMAND_ON_AI

const uint32_t esphome::climate_ir_lg::COMMAND_ON_AI = 0x03000

Definition at line 17 of file climate_ir_lg.cpp.

◆ COMMAND_ON_COOL

const uint32_t esphome::climate_ir_lg::COMMAND_ON_COOL = 0x00000

Definition at line 14 of file climate_ir_lg.cpp.

◆ COMMAND_ON_DRY

const uint32_t esphome::climate_ir_lg::COMMAND_ON_DRY = 0x01000

Definition at line 15 of file climate_ir_lg.cpp.

◆ COMMAND_ON_FAN_ONLY

const uint32_t esphome::climate_ir_lg::COMMAND_ON_FAN_ONLY = 0x02000

Definition at line 16 of file climate_ir_lg.cpp.

◆ COMMAND_ON_HEAT

const uint32_t esphome::climate_ir_lg::COMMAND_ON_HEAT = 0x04000

Definition at line 18 of file climate_ir_lg.cpp.

◆ COMMAND_SWING

const uint32_t esphome::climate_ir_lg::COMMAND_SWING = 0x10000

Definition at line 12 of file climate_ir_lg.cpp.

◆ FAN_AUTO

const uint32_t esphome::climate_ir_lg::FAN_AUTO = 0x50

Definition at line 28 of file climate_ir_lg.cpp.

◆ FAN_MASK

const uint32_t esphome::climate_ir_lg::FAN_MASK = 0xF0

Definition at line 27 of file climate_ir_lg.cpp.

◆ FAN_MAX

const uint32_t esphome::climate_ir_lg::FAN_MAX = 0x40

Definition at line 31 of file climate_ir_lg.cpp.

◆ FAN_MED

const uint32_t esphome::climate_ir_lg::FAN_MED = 0x20

Definition at line 30 of file climate_ir_lg.cpp.

◆ FAN_MIN

const uint32_t esphome::climate_ir_lg::FAN_MIN = 0x00

Definition at line 29 of file climate_ir_lg.cpp.

◆ TEMP_MASK

const uint32_t esphome::climate_ir_lg::TEMP_MASK = 0XF00

Definition at line 35 of file climate_ir_lg.cpp.

◆ TEMP_MAX

const uint8_t esphome::climate_ir_lg::TEMP_MAX = 30

Definition at line 12 of file climate_ir_lg.h.

◆ TEMP_MIN

const uint8_t esphome::climate_ir_lg::TEMP_MIN = 18

Definition at line 11 of file climate_ir_lg.h.

◆ TEMP_RANGE

const uint8_t esphome::climate_ir_lg::TEMP_RANGE = TEMP_MAX - TEMP_MIN + 1

Definition at line 34 of file climate_ir_lg.cpp.

◆ TEMP_SHIFT

const uint32_t esphome::climate_ir_lg::TEMP_SHIFT = 8

Definition at line 36 of file climate_ir_lg.cpp.