Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Updated SimulatorProtocol to call onUpdateSensor after sendToActuator

Rich Turner108632d696e5
diff --git a/agent/src/main/java/org/openremote/agent3/protocol/simulator/SimulatorProtocol.java b/agent/src/main/java/org/openremote/agent3/protocol/simulator/SimulatorProtocol.java
index 6bf13598d..1cba97fda 100644
--- a/agent/src/main/java/org/openremote/agent3/protocol/simulator/SimulatorProtocol.java
+++ b/agent/src/main/java/org/openremote/agent3/protocol/simulator/SimulatorProtocol.java
@@ -91,7 +91,7 @@ public class SimulatorProtocol extends AbstractProtocol {
@Override
protected void sendToActuator(AttributeEvent event) {
- putState(event.getAttributeState(), false);
+ putState(event.getAttributeState(), true);
}
/**