ESPHome  2024.2.2
Data Structures | Namespaces | Functions | Variables
climate.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::climate::ClimateCall
 This class is used to encode all control actions on a climate device. More...
 
struct  esphome::climate::ClimateDeviceRestoreState
 Struct used to save the state of the climate device in restore memory. More...
 
class  esphome::climate::Climate
 ClimateDevice - This is the base class for all climate integrations. More...
 

Namespaces

 esphome
 This is a workaround until we can figure out a way to get the tflite-micro idf component code available in CI.
 
 esphome::climate
 

Functions

struct esphome::climate::ClimateDeviceRestoreState esphome::climate::__attribute__ ((packed))
 
ClimateCall to_call (Climate *climate)
 Convert this struct to a climate call that can be performed. More...
 
void apply (Climate *climate)
 Apply these settings to the climate device. More...
 

Variables

ClimateMode mode
 
bool uses_custom_fan_mode {false}
 
union {
   ClimateFanMode   fan_mode
 
   uint8_t   custom_fan_mode
 
}; 
 
bool uses_custom_preset {false}
 
union {
   ClimatePreset   preset
 
   uint8_t   custom_preset
 
}; 
 
ClimateSwingMode swing_mode
 
union {
   float   target_temperature
 
   struct {
      float   target_temperature_low
 
      float   target_temperature_high
 
   } 
 
}; 
 
float target_humidity
 
esphome::climate::Climate esphome::climate::__attribute__
 

Function Documentation

◆ apply()

void __attribute__::apply ( Climate *  climate)

Apply these settings to the climate device.

◆ to_call()

ClimateCall __attribute__::to_call ( Climate *  climate)

Convert this struct to a climate call that can be performed.

Variable Documentation

◆ @63

union { ... }

◆ @65

union { ... }

◆ @67

union { ... }

◆ custom_fan_mode

uint8_t custom_fan_mode

Definition at line 574 of file climate.h.

◆ custom_preset

uint8_t custom_preset

Definition at line 579 of file climate.h.

◆ fan_mode

ClimateFanMode fan_mode

Definition at line 573 of file climate.h.

◆ mode

ClimateMode mode

Definition at line 570 of file climate.h.

◆ preset

ClimatePreset preset

Definition at line 578 of file climate.h.

◆ swing_mode

ClimateSwingMode swing_mode

Definition at line 581 of file climate.h.

◆ target_humidity

float target_humidity

Definition at line 589 of file climate.h.

◆ target_temperature

float target_temperature

Definition at line 583 of file climate.h.

◆ target_temperature_high

float target_temperature_high

Definition at line 586 of file climate.h.

◆ target_temperature_low

float target_temperature_low

Definition at line 585 of file climate.h.

◆ uses_custom_fan_mode

bool uses_custom_fan_mode {false}

Definition at line 571 of file climate.h.

◆ uses_custom_preset

bool uses_custom_preset {false}

Definition at line 576 of file climate.h.