ESPHome  2024.11.0
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
 Implementation of SPI Controller mode.
 
 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. More...
 
void apply (Climate *climate)
 Apply these settings to the climate device. More...
 

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

◆ @62

struct { ... }

◆ @64

union { ... }

◆ @66

union { ... }

◆ @70

struct { ... }

◆ __attribute__

struct { ... } __attribute__

◆ 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 138 of file climate.h.

◆ target_temperature_high

float target_temperature_high

Definition at line 141 of file climate.h.

◆ target_temperature_low

float target_temperature_low

Definition at line 140 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.