Bugfix
This commit is contained in:
parent
6cb0a2ddf0
commit
b2d96b34b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue