diff --git a/src/main/java/org/myrobotlab/service/InMoov2.java b/src/main/java/org/myrobotlab/service/InMoov2.java index eb72c37425..d3b808b485 100644 --- a/src/main/java/org/myrobotlab/service/InMoov2.java +++ b/src/main/java/org/myrobotlab/service/InMoov2.java @@ -926,7 +926,7 @@ public void onPirOn() { // FIXME flash on config.flashOnBoot invoke("publishFlash"); String botState = chatBot.getPredicate("botState"); - if ("sleeping".equals(botState)) { + if ("sleeping".equals("botState")) { invoke("publishEvent", "WAKE"); } }