From cca5b8e35b9b5f2cc06ff539891fb7c9234f7773 Mon Sep 17 00:00:00 2001 From: Paul C Diem Date: Sat, 4 Apr 2020 10:27:40 -0500 Subject: [PATCH] Call XdrvCall even for power. Fix devgrp index mask in xdrv_04_light --- tasmota/support_device_groups.ino | 4 +--- tasmota/xdrv_04_light.ino | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tasmota/support_device_groups.ino b/tasmota/support_device_groups.ino index f88bc5c93..4e8b48041 100644 --- a/tasmota/support_device_groups.ino +++ b/tasmota/support_device_groups.ino @@ -601,9 +601,7 @@ void ProcessDeviceGroupMessage(char * packet, int packet_length) } } } - else { - XdrvCall(FUNC_DEVICE_GROUP_ITEM); - } + XdrvCall(FUNC_DEVICE_GROUP_ITEM); } } diff --git a/tasmota/xdrv_04_light.ino b/tasmota/xdrv_04_light.ino index a3f7a6be5..bcbfba042 100644 --- a/tasmota/xdrv_04_light.ino +++ b/tasmota/xdrv_04_light.ino @@ -2115,7 +2115,7 @@ void LightHandleDeviceGroupItem() bool more_to_come; uint32_t value = XdrvMailbox.payload; #ifdef USE_PWM_DIMMER_REMOTE - if (XdrvMailbox.index & 0xff00) return; // Ignore updates from other device groups + if (XdrvMailbox.index & 0xff0000) return; // Ignore updates from other device groups #endif // USE_PWM_DIMMER_REMOTE switch (XdrvMailbox.command_code) { case DGR_ITEM_EOL: