Command 'OFF' has been ignored for group 'Cameras' as it is not accepted

Hi guys, any idea why i get an error with this rule please:

rule “Cameras on when alarm set”
when
Item SerialConnectionToTheAlarmSystem_SystemArmed received update ON

then
{
sendCommand(Cameras, ON)
}
end

Cheers
Col

The error message in the title is about ‘OFF’, but this rule only sends ‘ON’. Sure this is the offending rule?

Is Cameras a Switch type group?
Try this, works better at type conversion, may even give more useful message

Cameras.sendCommand(ON)

You may have two issues here:

  1. You need to make sure that ALL the items in the Cameras group are switches
  2. Is your group a group switch ie: Group:Switch Cameras

Good luck