watch unknown and fixes (see #619 comments)

This commit is contained in:
MichaelDvP
2020-11-18 13:33:04 +01:00
parent 0b19ea7a0d
commit 780be4ff57
7 changed files with 16 additions and 10 deletions

View File

@@ -648,7 +648,7 @@ bool EMSESP::process_telegram(std::shared_ptr<const Telegram> telegram) {
if (!found) {
LOG_DEBUG(F("No telegram type handler found for ID 0x%02X (src 0x%02X)"), telegram->type_id, telegram->src);
if ((watch() == WATCH_ON) && (watch_id_ == 0xFF)) {
if (watch() == WATCH_UNKNOWN) {
LOG_NOTICE(pretty_telegram(telegram).c_str());
}
}