aqhome-nodes: only announce values if uid != 0 and != -1
Those ids occur for freshly assembled nodes.
This commit is contained in:
@@ -248,7 +248,8 @@ void _handleMsgDevice(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");
|
||||
|
||||
Reference in New Issue
Block a user