ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::remote_base::IRA211Data Struct Reference

#include <ira211_protocol.h>

Public Member Functions

float get_temperature () const
 
void set_temperature (float temperature)
 Rounds to the nearest half degree and clamps to the 5 to 35 C range the thermostat accepts.
 
bool operator== (const IRA211Data &rhs) const
 Compares the command and only the fields that command carries.
 

Data Fields

IRA211Command command {IRA211Command::IRA211_COMMAND_SYNC}
 
uint8_t half_degrees {40}
 
IRA211Mode mode {IRA211Mode::IRA211_MODE_COMFORT}
 
IRA211Fan fan {IRA211Fan::IRA211_FAN_AUTO}
 

Detailed Description

Definition at line 39 of file ira211_protocol.h.

Member Function Documentation

◆ get_temperature()

float esphome::remote_base::IRA211Data::get_temperature ( ) const
inline

Definition at line 45 of file ira211_protocol.h.

◆ operator==()

bool esphome::remote_base::IRA211Data::operator== ( const IRA211Data & rhs) const

Compares the command and only the fields that command carries.

Definition at line 94 of file ira211_protocol.cpp.

◆ set_temperature()

void esphome::remote_base::IRA211Data::set_temperature ( float temperature)
inline

Rounds to the nearest half degree and clamps to the 5 to 35 C range the thermostat accepts.

Definition at line 47 of file ira211_protocol.h.

Field Documentation

◆ command

IRA211Command esphome::remote_base::IRA211Data::command {IRA211Command::IRA211_COMMAND_SYNC}

Definition at line 40 of file ira211_protocol.h.

◆ fan

IRA211Fan esphome::remote_base::IRA211Data::fan {IRA211Fan::IRA211_FAN_AUTO}

Definition at line 43 of file ira211_protocol.h.

◆ half_degrees

uint8_t esphome::remote_base::IRA211Data::half_degrees {40}

Definition at line 41 of file ira211_protocol.h.

◆ mode

IRA211Mode esphome::remote_base::IRA211Data::mode {IRA211Mode::IRA211_MODE_COMFORT}

Definition at line 42 of file ira211_protocol.h.


The documentation for this struct was generated from the following files: