This commit is contained in:
Ziver Koc 2021-09-06 16:34:20 +02:00
parent 6cb0a2ddf0
commit b2d96b34b1

View file

@ -180,7 +180,7 @@ public class EventControllerManager extends HalAbstractControllerManager<HalEven
HalEventController controller = getControllerInstance(controllerClass);
if (controller != null) {
event.getDeviceData().setTimestamp(System.currentTimeMillis()); // Set timestamp to now
eventData.setTimestamp(System.currentTimeMillis()); // Set timestamp to now
controller.send(event.getDeviceConfig(), eventData);
reportReceived(event.getDeviceConfig(), eventData); // save action to db
}