thermostat RC300 mode

This commit is contained in:
MichaelDvP
2023-11-14 10:53:20 +01:00
parent 3b30083e7c
commit 4f1ef297c7
5 changed files with 25 additions and 12 deletions

View File

@@ -333,6 +333,16 @@ bool EMSdevice::is_fetch(uint16_t telegram_id) const {
return false;
}
// get status of automatic fetch for a 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_) {