How to define and use global "general purpose" actions   The idea is to create a line with actions that can be executed from any other line in hash table. The major advantage of this feature is easy to use, modify and maintain. The following example shows arming, disarming (and TTS message) alarm system and use of device grouping feature. by using keyword $homeMode, If your system is in vacation mode, motion sensors will be armed also.   1. First of all we'll defin