mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
fix RC300 summertemp, mode
This commit is contained in:
@@ -347,6 +347,16 @@ bool EMSdevice::is_fetch(uint16_t telegram_id) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
// get received status of telegramID
|
||||
bool EMSdevice::is_received(uint16_t telegram_id) const {
|
||||
for (const auto & tf : telegram_functions_) {
|
||||
if (tf.telegram_type_id_ == telegram_id) {
|
||||
return tf.received_;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// check for a tag to create a nest
|
||||
bool EMSdevice::has_tags(const uint8_t tag) const {
|
||||
for (const auto & dv : devicevalues_) {
|
||||
|
||||
Reference in New Issue
Block a user