From 931dc6dd18955778faa206b2b6efd49340a9ee0f Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Thu, 30 Jul 2020 20:43:18 +0200 Subject: [PATCH] Fix #441 --- src/roomcontrol.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/roomcontrol.cpp b/src/roomcontrol.cpp index 96e801dbb..5db25621c 100644 --- a/src/roomcontrol.cpp +++ b/src/roomcontrol.cpp @@ -65,6 +65,10 @@ void Roomctrl::check(const uint8_t addr, const uint8_t * data) { if (hc_ > 3) { return; } + // no reply if the temperature is not set + if (remotetemp[hc_] == EMS_VALUE_SHORT_NOTSET) { + return; + } // reply to writes with write nack byte if (addr & 0x80) { // it's a write to us nack_write(); // we don't accept writes.