#include <midea_data.h>
|
enum | MideaDataType : uint8_t { MIDEA_TYPE_CONTROL = 0xA1,
MIDEA_TYPE_SPECIAL = 0xA2,
MIDEA_TYPE_FOLLOW_ME = 0xA4
} |
|
uint8_t | get_value_ (uint8_t idx, uint8_t mask=255, uint8_t shift=0) const |
|
void | set_value_ (uint8_t idx, uint8_t value, uint8_t mask=255, uint8_t shift=0) |
|
void | set_mask_ (uint8_t idx, bool state, uint8_t mask=255) |
|
uint8_t | calc_cs_ () const |
|
std::array< uint8_t, 6 > | data_ |
|
Definition at line 59 of file midea_data.h.
◆ FollowMeData() [1/3]
esphome::midea_ir::FollowMeData::FollowMeData |
( |
| ) |
|
|
inline |
◆ FollowMeData() [2/3]
esphome::midea_ir::FollowMeData::FollowMeData |
( |
const MideaData & |
data | ) |
|
|
inline |
◆ FollowMeData() [3/3]
esphome::midea_ir::FollowMeData::FollowMeData |
( |
uint8_t |
temp, |
|
|
bool |
beeper = false |
|
) |
| |
|
inline |
◆ beeper()
bool esphome::midea_ir::FollowMeData::beeper |
( |
| ) |
const |
|
inline |
◆ set_beeper()
void esphome::midea_ir::FollowMeData::set_beeper |
( |
bool |
value | ) |
|
|
inline |
◆ set_temp()
void esphome::midea_ir::FollowMeData::set_temp |
( |
uint8_t |
val | ) |
|
|
inline |
◆ temp()
uint8_t esphome::midea_ir::FollowMeData::temp |
( |
| ) |
const |
|
inline |
◆ MAX_TEMP
const uint8_t esphome::midea_ir::FollowMeData::MAX_TEMP = 37 |
|
staticprotected |
The documentation for this class was generated from the following file: