only announce values when there is a valid uid.

This commit is contained in:
Martin Preuss
2024-10-02 22:10:31 +02:00
parent cc1dcc4d7f
commit 072ed88102

View File

@@ -353,7 +353,8 @@ void _handleMsgFlashReady(AQHOMED *aqh, const GWEN_MSG *msg)
_assignDeviceId(aqh, ni, uid);
_updateTimestampLastChange(ni);
AQH_NodeDb_SetModified(aqh->nodeDb);
_announceNodeValues(aqh, ni);
if (uid!=0x00000000L && uid!=0xffffffff)
_announceNodeValues(aqh, ni);
}
else {
DBG_INFO(AQH_LOGDOMAIN, "Error handling message");