diff --git a/src/main/java/org/myrobotlab/service/InMoov2.java b/src/main/java/org/myrobotlab/service/InMoov2.java index 0967c056aa..e19144c95e 100644 --- a/src/main/java/org/myrobotlab/service/InMoov2.java +++ b/src/main/java/org/myrobotlab/service/InMoov2.java @@ -1208,8 +1208,9 @@ public void onPirOff() { */ public void onPirOn() { log.info("onPirOn"); - // FIXME flash on config.flashOnBoot - invoke("publishFlash", "pir"); + if (config.flashOnPir == true) { + invoke("publishFlash", "pir"); + } ProgramAB chatBot = (ProgramAB) getPeer("chatBot"); if (chatBot != null) { String botState = chatBot.getPredicate("botState");