mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Fixed group mask logic for WLED Sync fix (#6193)
This commit is contained in:
parent
71b3a14a29
commit
061d5b4979
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ bool WLEDLightEffect::parse_notifier_frame_(light::AddressableLight &it, const u
|
|||
|
||||
uint8_t payload_sync_group_mask = payload[34];
|
||||
|
||||
if ((payload_sync_group_mask & this->sync_group_mask_) != this->sync_group_mask_) {
|
||||
if (this->sync_group_mask_ && !(payload_sync_group_mask & this->sync_group_mask_)) {
|
||||
ESP_LOGD(TAG, "sync group mask does not match");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue