mirror of https://github.com/arendst/Tasmota.git
Call XdrvCall even for power. Fix devgrp index mask in xdrv_04_light
This commit is contained in:
parent
c066b0c8e2
commit
cca5b8e35b
|
@ -601,9 +601,7 @@ void ProcessDeviceGroupMessage(char * packet, int packet_length)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
XdrvCall(FUNC_DEVICE_GROUP_ITEM);
|
||||||
XdrvCall(FUNC_DEVICE_GROUP_ITEM);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2115,7 +2115,7 @@ void LightHandleDeviceGroupItem()
|
||||||
bool more_to_come;
|
bool more_to_come;
|
||||||
uint32_t value = XdrvMailbox.payload;
|
uint32_t value = XdrvMailbox.payload;
|
||||||
#ifdef USE_PWM_DIMMER_REMOTE
|
#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
|
#endif // USE_PWM_DIMMER_REMOTE
|
||||||
switch (XdrvMailbox.command_code) {
|
switch (XdrvMailbox.command_code) {
|
||||||
case DGR_ITEM_EOL:
|
case DGR_ITEM_EOL:
|
||||||
|
|
Loading…
Reference in New Issue