mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-19 08:46:32 +00:00
Merge pull request #8067 from pcdiem/device-groups-4
Call XdrvCall even for power. Fix devgrp index mask in xdrv_04_light
This commit is contained in:
commit
14030df1f4
@ -601,9 +601,7 @@ void ProcessDeviceGroupMessage(char * packet, int packet_length)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
XdrvCall(FUNC_DEVICE_GROUP_ITEM);
|
||||||
XdrvCall(FUNC_DEVICE_GROUP_ITEM);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2135,7 +2135,7 @@ void LightHandleDeviceGroupItem(void)
|
|||||||
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…
x
Reference in New Issue
Block a user