Skip to content

Commit

Permalink
chatBot set botState
Browse files Browse the repository at this point in the history
  • Loading branch information
hairygael authored Oct 13, 2023
1 parent 5d683eb commit 7fdb561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/myrobotlab/service/InMoov2.java
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ public void onPirOn() {
led.interval = 500;
// FIXME flash on config.flashOnBoot
invoke("publishFlash");
String botState = fsm.getCurrent();
String botState = chatBot.getPredicate("botState");
if ("sleeping".equals(botState)) {
invoke("publishEvent", "WAKE");
}
Expand Down

0 comments on commit 7fdb561

Please sign in to comment.