ESPHome 2025.5.0
Loading...
Searching...
No Matches
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

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::climate
 

Functions

struct esphome::climate::ClimateDeviceRestoreState esphome::climate::__attribute__ ((packed))
 
union { 
 
   float   target_temperature 
 
   struct { 
 
      float   target_temperature_low 
 
      float   target_temperature_high 
 
   }   __attribute__ 
 
__attribute__ ((packed)) 
 
ClimateCall to_call (Climate *climate)
 Convert this struct to a climate call that can be performed.
 
void apply (Climate *climate)
 Apply these settings to the climate device.
 

Variables

float target_temperature
 
struct { 
 
   float   target_temperature_low 
 
   float   target_temperature_high 
 
};  
 
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
 
struct { 
 
   float   target_temperature_low 
 
   float   target_temperature_high 
 
};  
 
float target_humidity
 
esphome::climate::Climate esphome::climate::__attribute__
 

Function Documentation

◆ __attribute__()

union @67 __attribute__::__attribute__ ( (packed) )

◆ 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

◆ [struct]

struct { ... }

◆ [union]

union { ... }

◆ [union]

union { ... }

◆ [struct]

struct { ... }

◆ [struct]

struct { ... } __attribute__

◆ custom_fan_mode

uint8_t custom_fan_mode

Definition at line 4 of file climate.h.

◆ custom_preset

uint8_t custom_preset

Definition at line 9 of file climate.h.

◆ fan_mode

ClimateFanMode fan_mode

Definition at line 3 of file climate.h.

◆ mode

ClimateMode mode

Definition at line 0 of file climate.h.

◆ preset

ClimatePreset preset

Definition at line 8 of file climate.h.

◆ swing_mode

ClimateSwingMode swing_mode

Definition at line 11 of file climate.h.

◆ target_humidity

float target_humidity

Definition at line 19 of file climate.h.

◆ target_temperature

float target_temperature

Definition at line 0 of file climate.h.

◆ target_temperature_high

float target_temperature_high

Definition at line 3 of file climate.h.

◆ target_temperature_low

float target_temperature_low

Definition at line 2 of file climate.h.

◆ uses_custom_fan_mode

bool uses_custom_fan_mode {false}

Definition at line 1 of file climate.h.

◆ uses_custom_preset

bool uses_custom_preset {false}

Definition at line 6 of file climate.h.