From 9e38fe4771e2a6554a363cda4875e7a9075d747d Mon Sep 17 00:00:00 2001 From: TRS-80 <25938297+TRSx80@users.noreply.github.com> Date: Sat, 6 Jun 2020 16:40:32 -0400 Subject: [PATCH] [xmppclient] fix typo in doc example (#7866) If Bridge example at top uses (two) ## then split command further down needs to, also. I was trying to get this working on my own machine but could not until making that small change. So in that sense, it has been (lightly) "tested." --- bundles/org.openhab.binding.xmppclient/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.xmppclient/README.md b/bundles/org.openhab.binding.xmppclient/README.md index db7d9c04a2fd6..dfe3a429f2055 100644 --- a/bundles/org.openhab.binding.xmppclient/README.md +++ b/bundles/org.openhab.binding.xmppclient/README.md @@ -76,7 +76,7 @@ rule "Turn off all lights with separator and reply" when Channel "xmppclient:xmppBridge:xmpp:xmpp_command" triggered then - var actionName = receivedEvent.getEvent().split("#") + var actionName = receivedEvent.getEvent().split("##") if(actionName.get(1).toLowerCase() == "turn off lights") { Group_Light_Home_All.sendCommand(OFF)