ESPHome  1.14.3
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
 
 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 away
 
union {
   float   target_temperature
 
   struct {
      float   target_temperature_low
 
      float   target_temperature_high
 
   } 
 
}; 
 
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

◆ @5

union { ... }

◆ away

bool away

Definition at line 243 of file climate.h.

◆ mode

ClimateMode mode

Definition at line 242 of file climate.h.

◆ target_temperature

float target_temperature

Definition at line 245 of file climate.h.

◆ target_temperature_high

float target_temperature_high

Definition at line 248 of file climate.h.

◆ target_temperature_low

float target_temperature_low

Definition at line 247 of file climate.h.