From 550c3b425b1dfeac524a64aa0e5f4613a89bedbb Mon Sep 17 00:00:00 2001 From: Paul C Diem Date: Tue, 9 Mar 2021 21:33:57 -0600 Subject: [PATCH] Only check device_group_tie if SO88 enabled --- tasmota/xdrv_04_light.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_04_light.ino b/tasmota/xdrv_04_light.ino index f6b58e491..814a88c51 100644 --- a/tasmota/xdrv_04_light.ino +++ b/tasmota/xdrv_04_light.ino @@ -2210,7 +2210,7 @@ void LightHandleDevGroupItem(void) static bool send_state = false; static bool restore_power = false; - if (Settings.device_group_tie[*XdrvMailbox.topic] != Light.device) return; + if (Settings.flag4.multiple_device_groups ? Settings.device_group_tie[*XdrvMailbox.topic] != Light.device : !(XdrvMailbox.index & DGR_FLAG_LOCAL)) return; bool more_to_come; uint32_t value = XdrvMailbox.payload; switch (XdrvMailbox.command_code) {