diff --git a/tasmota/support_device_groups.ino b/tasmota/support_device_groups.ino index 7c272f267..2ce85c22a 100644 --- a/tasmota/support_device_groups.ino +++ b/tasmota/support_device_groups.ino @@ -353,9 +353,11 @@ void SendReceiveDeviceGroupPacket(struct device_group * device_group, struct dev } } break; +#ifdef USE_RULES case DGR_ITEM_EVENT: CmndEvent(); break; +#endif case DGR_ITEM_COMMAND: ExecuteCommand(XdrvMailbox.data, SRC_REMOTE); break;