Include IAS Zone status
@@ -317,10 +317,13 @@ void DeRestPluginPrivate::handleIasZoneClusterIndication(const deCONZ::ApsDataIn
break;
case IAS_ZONE_STATUS:
+ {
+ if (!DEV_TestStrict())
{
const quint16 zoneStatus = attr.numericValue().u16; // might be reported or received via CMD_STATUS_CHANGE_NOTIFICATION
processIasZoneStatus(sensor, zoneStatus, updateType);
+ }
}
break;
@@ -375,6 +378,8 @@ void DeRestPluginPrivate::handleIasZoneClusterIndication(const deCONZ::ApsDataIn
// Read ZCL Cluster Command Response
if (isClusterCmd && zclFrame.commandId() == CMD_STATUS_CHANGE_NOTIFICATION)
+ {
+ if (!DEV_TestStrict())
{
quint16 zoneStatus;
quint8 extendedStatus;
@@ -388,6 +393,7 @@ void DeRestPluginPrivate::handleIasZoneClusterIndication(const deCONZ::ApsDataIn
DBG_Printf(DBG_IAS, "[IAS ZONE] - 0x%016llX Status Change, status: 0x%04X, zoneId: %u, delay: %u\n", sensor->address().ext(), zoneStatus, zoneId, delay);
processIasZoneStatus(sensor, zoneStatus, NodeValue::UpdateByZclReport);
+ }
checkIasEnrollmentStatus(sensor);
}
