Minor changes
This commit is contained in:
parent
4ece7281d3
commit
e1d74e98eb
@ -179,6 +179,12 @@ void onBroadcastReceiving(const char *data, const uint8_t *sender)
|
|||||||
sendConfigMessage();
|
sendConfigMessage();
|
||||||
if (sensorPin)
|
if (sensorPin)
|
||||||
sendConfigMessage(sensorType);
|
sendConfigMessage(sensorType);
|
||||||
|
sendAttributesMessage();
|
||||||
|
if (sensorPin)
|
||||||
|
sendAttributesMessage(sensorType);
|
||||||
|
sendStatusMessage();
|
||||||
|
if (sensorPin)
|
||||||
|
sendStatusMessage(sensorType);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
gatewayAvailabilityCheckTimer.once(15, gatewayAvailabilityCheckTimerCallback);
|
gatewayAvailabilityCheckTimer.once(15, gatewayAvailabilityCheckTimerCallback);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user